From 1fffd3df529bca6da41dd5387cff62577bdea8b3 Mon Sep 17 00:00:00 2001 From: emma Date: Fri, 23 Aug 2024 14:21:43 -0600 Subject: [PATCH] Makefile: sets bindgen to output exit codes as u8 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5de9618..5b7d4fa 100644 --- a/Makefile +++ b/Makefile @@ -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