mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
add blacklist for unsupported calling conventions
This commit is contained in:
parent
6e58b1c3c9
commit
7d2441134b
@ -1,6 +1,7 @@
|
||||
// Bare MIPS32r2, little endian, softfloat
|
||||
// can be used for MIPS M4K core (e.g. on PIC32MX devices)
|
||||
|
||||
use crate::spec::abi::Abi;
|
||||
use crate::spec::{LinkerFlavor, LldFlavor, RelocModel};
|
||||
use crate::spec::{PanicStrategy, Target, TargetOptions};
|
||||
|
||||
@ -25,6 +26,14 @@ pub fn target() -> Target {
|
||||
linker: Some("rust-lld".to_owned()),
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
relocation_model: RelocModel::Static,
|
||||
unsupported_abis: vec![
|
||||
Abi::Stdcall,
|
||||
Abi::Fastcall,
|
||||
Abi::Vectorcall,
|
||||
Abi::Thiscall,
|
||||
Abi::Win64,
|
||||
Abi::SysV64,
|
||||
],
|
||||
emit_debug_gdb_scripts: false,
|
||||
..Default::default()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user