]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #53139 - danc86:riscv-no-gdb-scripts, r=petrochenkov
authorkennytm <kennytm@gmail.com>
Tue, 7 Aug 2018 10:52:20 +0000 (18:52 +0800)
committerkennytm <kennytm@gmail.com>
Tue, 7 Aug 2018 10:52:20 +0000 (18:52 +0800)
set emit_debug_gdb_scripts: false for riscv32imac-unknown-none target

Same as the other embedded targets, see:
https://github.com/rust-lang/rust/pull/49728

This is a temporary workaround for #44993.

src/librustc_target/spec/riscv32imac_unknown_none_elf.rs

index cfd73e371ddacad71372f84857d1e35f971093a3..f8cd1b5b81207b95a5ded060b4bf72ad36b4aa58 100644 (file)
@@ -33,6 +33,7 @@ pub fn target() -> TargetResult {
             executables: true,
             panic_strategy: PanicStrategy::Abort,
             relocation_model: "static".to_string(),
+            emit_debug_gdb_scripts: false,
             abi_blacklist: vec![
                 Abi::Cdecl,
                 Abi::Stdcall,