Add checks and install cbindgen in bootstrap.sh.

This commit is contained in:
4lDO2 2023-12-14 15:32:54 +01:00
parent 2dadc977e7
commit e3013ac40b
No known key found for this signature in database
GPG key ID: 996A1DBA676A00C0
2 changed files with 6 additions and 1 deletions

View file

@ -1024,6 +1024,7 @@ fi
cargoInstall cargo-config 0.1.1
cargoInstall just 1.16.0
cargoInstall cbindgen 0.26.0
if [ "$dependenciesonly" = false ]; then
boot

View file

@ -7,6 +7,10 @@ ifeq ($(shell which rustup),)
$(error rustup not found, install from "https://rustup.rs/")
endif
ifeq ($(shell which cbindgen),)
$(error cbindgen not found, install from crates.io or from your package manager)
endif
ifeq ($(shell which nasm),)
$(error nasm not found, install from your package manager)
endif