diff --git a/Cargo.toml b/Cargo.toml index 26cfaf98..7403e0f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,12 +97,10 @@ codegen-units = 1 # better optimizations # See: https://github.com/esp-rs/esp-hal/pull/198 opt-level = "s" rustflags = [ - "-C", - "link-arg=-Tlinkall.x", + "-C", "link-arg=-Tlinkall.x", # Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.) # NOTE: May negatively impact performance of produced code - "-C", - "force-frame-pointers", + "-C", "force-frame-pointers", ] [profile.dev.package.mnemos-esp32c3-buddy] @@ -113,12 +111,10 @@ codegen-units = 1 # better optimizations opt-level = "s" # symbols are nice and they don't increase the size on Flash rustflags = [ - "-C", - "link-arg=-Tlinkall.x", + "-C", "link-arg=-Tlinkall.x", # Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.) # NOTE: May negatively impact performance of produced code - "-C", - "force-frame-pointers", + "-C", "force-frame-pointers", ] ## profile settings for x86_64 ##