From 5ba3d48a611ce9cf5d1bb8eed6c98db2ff4a10e3 Mon Sep 17 00:00:00 2001 From: Nick Gheorghita Date: Mon, 3 Jan 2022 10:56:12 +0000 Subject: [PATCH] Changes to suppress cargo build warning --- .cargo/config.toml | 5 +++++ .circleci/config.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000000..9904056dc1 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[build] +rustflags = ["-Dwarnings"] + +[target.'cfg(all())'] +rustflags = ["-D", "warnings"] diff --git a/.circleci/config.yml b/.circleci/config.yml index 827f77d5fa..8c70c4cd60 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: name: rust/default tag: 1.56.1 environment: - RUSTFLAGS: '-D warnings' + RUSTFLAGS: '-Dwarnings' steps: - checkout - restore_cache: