FreeBSD uses Clang which can return small structs as an integer.
This commit is contained in:
parent
2026453bcf
commit
279e5b0a48
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ pub fn opts() -> TargetOptions {
|
|||
eliminate_frame_pointer: false, // FIXME 43575
|
||||
relro_level: RelroLevel::Full,
|
||||
exe_allocation_crate: super::maybe_jemalloc(),
|
||||
abi_return_struct_as_int: true,
|
||||
.. Default::default()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue