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
9
9
10
10
### Fixed
11
11
12
+ - Ensure ` embedded-test.x ` is only augmenting the linker scripts
12
13
- Make ` std ` enable ` serde-json-core ` 's ` heapless ` feature
13
14
14
15
## [ 0.6.2]
Original file line number Diff line number Diff line change @@ -14,3 +14,9 @@ SECTIONS
14
14
KEEP(*(.embedded_test.*));
15
15
}
16
16
}
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;
2
2
3
3
fn main ( ) {
4
4
// 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" ) ;
6
6
7
7
// Check if the `defmt` feature is enabled, and if so link its linker script
8
8
if env:: var ( "CARGO_FEATURE_DEFMT" ) . is_ok ( ) {
You can’t perform that action at this time.
0 commit comments