Use code model 'medium' for 64-bit RISC-V targets
This commit is contained in:
parent
fea8194a49
commit
c65ffa789d
2 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ pub fn target() -> TargetResult {
|
|||
executables: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
relocation_model: "static".to_string(),
|
||||
code_model: Some("medium".to_string()),
|
||||
emit_debug_gdb_scripts: false,
|
||||
abi_blacklist: super::riscv_base::abi_blacklist(),
|
||||
eliminate_frame_pointer: false,
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ pub fn target() -> TargetResult {
|
|||
executables: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
relocation_model: "static".to_string(),
|
||||
code_model: Some("medium".to_string()),
|
||||
emit_debug_gdb_scripts: false,
|
||||
abi_blacklist: super::riscv_base::abi_blacklist(),
|
||||
eliminate_frame_pointer: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue