Rollup merge of #87457 - devnexen:fbsd_remove_workaround, r=petrochenkov

freebsd remove compiler workaround.

related issue #43575
This commit is contained in:
Guillaume Gomez 2021-07-26 16:04:35 +02:00 committed by GitHub
commit e3c6cd23cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
use crate::spec::{FramePointer, RelroLevel, TargetOptions};
use crate::spec::{RelroLevel, TargetOptions};
pub fn opts() -> TargetOptions {
TargetOptions {
@ -8,7 +8,6 @@ pub fn opts() -> TargetOptions {
families: vec!["unix".to_string()],
has_rpath: true,
position_independent_executables: true,
frame_pointer: FramePointer::Always, // FIXME 43575: should be MayOmit...
relro_level: RelroLevel::Full,
abi_return_struct_as_int: true,
dwarf_version: Some(2),