aboutsummaryrefslogtreecommitdiff
path: root/embassy-net
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-01-10 18:25:45 +0100
committerDario Nieuwenhuis <[email protected]>2024-01-10 18:32:14 +0100
commitfe0b21e21e8a1144a37ef07892927062682206a1 (patch)
tree582fa9858b0fad347f6901594df6cbd23e23f6f6 /embassy-net
parent77e60ecff82e26985257c43828b7232d2b78addf (diff)
Remove nightly autodetects.
Diffstat (limited to 'embassy-net')
-rw-r--r--embassy-net/build.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/embassy-net/build.rs b/embassy-net/build.rs
deleted file mode 100644
index 78bd27ec7..000000000
--- a/embassy-net/build.rs
+++ /dev/null
@@ -1,18 +0,0 @@
1use std::env;
2use std::ffi::OsString;
3use std::process::Command;
4
5fn main() {
6 println!("cargo:rerun-if-changed=build.rs");
7
8 let rustc = env::var_os("RUSTC").unwrap_or_else(|| OsString::from("rustc"));
9
10 let output = Command::new(rustc)
11 .arg("--version")
12 .output()
13 .expect("failed to run `rustc --version`");
14
15 if String::from_utf8_lossy(&output.stdout).contains("nightly") {
16 println!("cargo:rustc-cfg=nightly");
17 }
18}