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 <alindima@amazon.com>
This commit is contained in:
alindima
2021-09-23 15:33:50 +00:00
committed by Laura Loghin
parent 472dea07fb
commit ce13bfb1ef

View File

@@ -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"