Remove unnecessary build dependency from esp-backtrace (#1788)
This commit is contained in:
parent
bc74e2bb61
commit
0363169084
@ -18,7 +18,6 @@ semihosting = { version = "0.1.12", optional = true }
|
||||
|
||||
[build-dependencies]
|
||||
esp-build = { version = "0.1.0", path = "../esp-build" }
|
||||
rustversion = "1.0.17"
|
||||
|
||||
[features]
|
||||
default = ["colors"]
|
||||
|
||||
@ -12,19 +12,4 @@ fn main() {
|
||||
if cfg!(feature = "custom-halt") && cfg!(feature = "halt-cores") {
|
||||
panic!("Only one of `custom-halt` and `halt-cores` can be enabled");
|
||||
}
|
||||
|
||||
check_nightly();
|
||||
}
|
||||
|
||||
#[rustversion::all(not(stable),not(since(2024-06-12)))]
|
||||
fn check_nightly() {
|
||||
println!("cargo:rustc-cfg=nightly_before_2024_06_12");
|
||||
}
|
||||
|
||||
#[rustversion::since(2024-06-12)]
|
||||
fn check_nightly() {
|
||||
println!("cargo:rustc-cfg=nightly_since_2024_06_12");
|
||||
}
|
||||
|
||||
#[rustversion::stable]
|
||||
fn check_nightly() {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user