aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/build_common.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-06-13 20:40:04 +0200
committerDario Nieuwenhuis <[email protected]>2024-06-13 20:40:04 +0200
commit4d9115b3fb17f441a3280dd7913e682157ca1dac (patch)
tree2b3200de38599efcd696835a7d0a01f8e6e27365 /embassy-executor/build_common.rs
parent8d79679bb27ce6eca8904e167a8762ad5fc90604 (diff)
Update stable to Rust 1.79.
Diffstat (limited to 'embassy-executor/build_common.rs')
-rw-r--r--embassy-executor/build_common.rs4
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
72fn is_rustc_nightly() -> bool { 72fn 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)