FreeBSD uses Clang which can return small structs as an integer.

This commit is contained in:
Bryan Drewery 2018-02-26 10:21:35 -08:00
parent 2026453bcf
commit 279e5b0a48

View file

@ -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()
}
}