From ce13bfb1ef1e23eeb79b4cd723a3030a463708dd Mon Sep 17 00:00:00 2001 From: alindima Date: Thu, 23 Sep 2021 15:33:50 +0000 Subject: [PATCH] Make build warnings fatal, again Add the RUSTFLAGS="-D warnings" to cargo build commands The yaml config file has been deleted in the meantime, so we need to add this again. Signed-off-by: alindima --- .buildkite/test_description.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/test_description.json b/.buildkite/test_description.json index 82bc6da..af49fb5 100644 --- a/.buildkite/test_description.json +++ b/.buildkite/test_description.json @@ -2,7 +2,7 @@ "tests": [ { "test_name": "build-gnu", - "command": "cargo build --release", + "command": "RUSTFLAGS=\"-D warnings\" cargo build --release", "platform": [ "x86_64", "aarch64" @@ -10,7 +10,7 @@ }, { "test_name": "build-musl", - "command": "cargo build --release --target {target_platform}-unknown-linux-musl", + "command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl", "platform": [ "x86_64", "aarch64"