From 69861f3a14a52faa85728bb4868692966acdcffd Mon Sep 17 00:00:00 2001 From: Sagie Gur-Ari Date: Mon, 25 May 2020 07:07:57 +0000 Subject: [PATCH] Fix CFG_RELEASE value --- .cargo/Makefile.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/Makefile.toml b/.cargo/Makefile.toml index 3f771a9dfd3..85de1f4d494 100644 --- a/.cargo/Makefile.toml +++ b/.cargo/Makefile.toml @@ -1,8 +1,8 @@ # This Makefile.toml defines common tasks and settings used in the rustfmt project. [env] -CFG_RELEASE = { value = "nightly", condition = { env_not_set = ["CFG_RELEASE"] } } -CFG_RELEASE_CHANNEL = { value = "nightly", condition = { env_not_set = ["CFG_RELEASE_CHANNEL"] } } +CFG_RELEASE = { value = "${CARGO_MAKE_RUST_VERSION}", condition = { env_not_set = ["CFG_RELEASE"] } } +CFG_RELEASE_CHANNEL = { value = "${CARGO_MAKE_RUST_CHANNEL}", condition = { env_not_set = ["CFG_RELEASE_CHANNEL"] } } [tasks.b] alias = "build"