Skip to content

Commit 16504f6

Browse files
Rollup merge of rust-lang#86014 - cr1901:msp430-link, r=jonas-schievink
msp430 linker does not accept -znoexecstack. Set linker_is_gnu to fal… …se as workaround for now. Tested locally and works. Closes rust-lang#85948.
2 parents 9c7ebc1 + cd11cdb commit 16504f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/msp430_none_elf.rs

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub fn target() -> Target {
1717
// dependency on this specific gcc.
1818
asm_args: vec!["-mcpu=msp430".to_string()],
1919
linker: Some("msp430-elf-gcc".to_string()),
20+
linker_is_gnu: false,
2021

2122
// There are no atomic CAS instructions available in the MSP430
2223
// instruction set, and the LLVM backend doesn't currently support

0 commit comments

Comments
 (0)