From b231d7eeb7170cec9f932ac7fc3db1fa7f04e78d Mon Sep 17 00:00:00 2001 From: Christian Poveda Date: Tue, 4 Oct 2022 10:49:01 -0500 Subject: [PATCH] check denying warnings --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index a5ee05009b..4b161d177a 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -126,7 +126,7 @@ fi CARGO_ARGS=`get_cargo_args` # Ensure we build without warnings -(cd bindgen-tests && cargo rustc --lib $CARGO_ARGS -- -Dwarnings) +RUSTFLAGS="-Dwarnings" cargo check if [ "$BINDGEN_MAIN_TESTS" == "1" ]; then # Run the tests