Skip to content

Commit 396b757

Browse files
author
Jorge Aparicio
committed
set relocation-model to static
1 parent e4c3263 commit 396b757

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_back/target/thumb_base.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub fn opts() -> TargetOptions {
1515
TargetOptions {
1616
executables: true,
1717
linker: "arm-none-eabi-gcc".to_string(),
18+
relocation_model: "static".to_string(),
1819
.. Default::default()
1920
}
2021
}

0 commit comments

Comments
 (0)