Makefile: sets bindgen to output exit codes as u8

This commit is contained in:
Emma Tebibyte 2024-08-23 14:21:43 -06:00
parent a14b8fb9d7
commit 1fffd3df52
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -95,7 +95,7 @@ build/o/libstrerror.rlib: build src/libstrerror.rs
src/libstrerror.rs
build/o/libsysexits.rlib: build/include/sysexits.h
bindgen --default-macro-constant-type signed --use-core --formatter=none \
bindgen --fit-macro-constant-types --default-macro-constant-type unsigned --use-core --formatter=none \
build/include/sysexits.h | $(RUSTC) $(RUSTFLAGS) --crate-type lib -o $@ -
# bandage solution until bindgen(1) gets stdin support