refactor!: logging is no longer a feature
This commit is contained in:
parent
ab9a5a4a55
commit
a9a1fc40db
2 changed files with 1 additions and 8 deletions
|
@ -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"]
|
||||
|
|
3
build.rs
3
build.rs
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue