Skip to content

Commit a3b46b7

Browse files
committed
Set linker_is_gnu.
1 parent c9bcd91 commit a3b46b7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/librustc_target/spec/xtensa_esp32_none_elf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub fn target() -> TargetResult {
1818
target_family: Some("unix".to_string()),
1919
cpu: "esp32".to_string(),
2020
linker: Some("xtensa-esp32-elf-gcc".to_string()),
21+
linker_is_gnu: true,
2122

2223
max_atomic_width: Some(32),
2324

src/librustc_target/spec/xtensa_esp8266_none_elf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub fn target() -> TargetResult {
1818
target_family: Some("unix".to_string()),
1919
cpu: "esp8266".to_string(),
2020
linker: Some("xtensa-lx106-elf-gcc".to_string()),
21+
linker_is_gnu: true,
2122

2223
max_atomic_width: Some(32),
2324

0 commit comments

Comments
 (0)