refactor!: logging is no longer a feature

This commit is contained in:
cscherr 2025-07-09 14:05:57 +02:00
parent ab9a5a4a55
commit a9a1fc40db
Signed by: cscherrNT
GPG key ID: 8E2B45BC51A27EA7
2 changed files with 1 additions and 8 deletions

View file

@ -22,7 +22,3 @@ chrono = { version = "0.4.41", default-features = false }
[profile.release]
debug = "full" # those are not on the board
[features]
default = ["logging"]
logging = ["dep:defmt", "dep:defmt-rtt", "dep:panic-probe"]

View file

@ -1,8 +1,5 @@
fn main() {
println!("cargo::rerun-if-changed=Cargo.toml");
println!("cargo::rustc-link-arg=-Tlink.x");
#[cfg(feature = "logging")]
{
println!("cargo::rustc-link-arg=-Tdefmt.x");
}
println!("cargo::rustc-link-arg=-Tdefmt.x");
}