diff options
Diffstat (limited to 'embassy-executor')
| -rw-r--r-- | embassy-executor/build_common.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-executor/build_common.rs b/embassy-executor/build_common.rs index 2c65f8529..0487eb3c5 100644 --- a/embassy-executor/build_common.rs +++ b/embassy-executor/build_common.rs | |||
| @@ -70,6 +70,10 @@ impl CfgSet { | |||
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | fn is_rustc_nightly() -> bool { | 72 | fn is_rustc_nightly() -> bool { |
| 73 | if env::var_os("EMBASSY_FORCE_CHECK_CFG").is_some() { | ||
| 74 | return true; | ||
| 75 | } | ||
| 76 | |||
| 73 | let rustc = env::var_os("RUSTC").unwrap_or_else(|| OsString::from("rustc")); | 77 | let rustc = env::var_os("RUSTC").unwrap_or_else(|| OsString::from("rustc")); |
| 74 | 78 | ||
| 75 | let output = Command::new(rustc) | 79 | let output = Command::new(rustc) |
