File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010### Fixed
1111
12+ - Ensure ` embedded-test.x ` is only augmenting the linker scripts
1213- Make ` std ` enable ` serde-json-core ` 's ` heapless ` feature
1314
1415## [ 0.6.2]
Original file line number Diff line number Diff line change @@ -14,3 +14,9 @@ SECTIONS
1414 KEEP (*(.embedded_test .*));
1515 }
1616}
17+
18+ # Without this `INSERT ...`, including this linker script using `-T...` will
19+ # replace the default linker script if this is the first linker script
20+ # included.
21+ # See https :// github.com/probe-rs/embedded-test/pull/67 for more information.
22+ INSERT AFTER .comment;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use std::env;
22
33fn main ( ) {
44 // add linker script for embedded-test!!
5- println ! ( "cargo::rustc-link-arg-tests=../../embedded -test.x" ) ;
5+ println ! ( "cargo::rustc-link-arg-tests=-Tembedded -test.x" ) ;
66
77 // Check if the `defmt` feature is enabled, and if so link its linker script
88 if env:: var ( "CARGO_FEATURE_DEFMT" ) . is_ok ( ) {
You can’t perform that action at this time.
0 commit comments