Remove unnecessary build dependency from esp-backtrace (#1788)

This commit is contained in:
Jesse Braham 2024-07-12 15:07:37 +00:00 committed by GitHub
parent bc74e2bb61
commit 0363169084
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 16 deletions

View File

@ -18,7 +18,6 @@ semihosting = { version = "0.1.12", optional = true }
[build-dependencies] [build-dependencies]
esp-build = { version = "0.1.0", path = "../esp-build" } esp-build = { version = "0.1.0", path = "../esp-build" }
rustversion = "1.0.17"
[features] [features]
default = ["colors"] default = ["colors"]

View File

@ -12,19 +12,4 @@ fn main() {
if cfg!(feature = "custom-halt") && cfg!(feature = "halt-cores") { if cfg!(feature = "custom-halt") && cfg!(feature = "halt-cores") {
panic!("Only one of `custom-halt` and `halt-cores` can be enabled"); 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() {}