Skip to content

Commit dfd7ae6

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)