Skip to content

Commit eed8a44

Browse files
committed
fix: use -Tembedded-test.x in std example build.rs
Signed-off-by: Kaspar Schleiser <[email protected]>
1 parent 010a2be commit eed8a44

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]

examples/std/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::env;
22

33
fn 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() {

0 commit comments

Comments
 (0)