From a59349ca10cb636b1693185858f66b46e0fa77ad 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 000000000..44a56c2eb --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[build] +rustflags = ["-Dwarnings"] + +[target.'cfg(all())'] +rustflags = ["-Dwarnings"] diff --git a/.circleci/config.yml b/.circleci/config.yml index 827f77d5f..8c70c4cd6 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: