From 728fd70c85245b0e2730efb4978d1fa9e6aa9bb2 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 4 Dec 2019 17:39:08 +0100 Subject: [PATCH] Fix ESP8266 linker. --- src/librustc_target/spec/xtensa_esp8266_none_elf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_target/spec/xtensa_esp8266_none_elf.rs b/src/librustc_target/spec/xtensa_esp8266_none_elf.rs index 2d9a70355cbfb..1459da1999ff1 100644 --- a/src/librustc_target/spec/xtensa_esp8266_none_elf.rs +++ b/src/librustc_target/spec/xtensa_esp8266_none_elf.rs @@ -22,7 +22,7 @@ pub fn target() -> TargetResult { // to gcc to get object files. For this reason we have a hard // dependency on this specific gcc. // asm_args: vec!["-mcpu=esp8266".to_string()], - linker: Some("xtensa-esp32-elf-gcc".to_string()), + linker: Some("xtensa-lx106-elf-gcc".to_string()), no_integrated_as: true, max_atomic_width: Some(32),