From 76d1453b5b4df9cfb18d3b19bb2d35f476dfdb4e Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 25 Jul 2021 17:38:44 +0100 Subject: [PATCH] freebsd remove compiler workaround. related issue #43575 --- compiler/rustc_target/src/spec/freebsd_base.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/rustc_target/src/spec/freebsd_base.rs b/compiler/rustc_target/src/spec/freebsd_base.rs index 998d6ffe0fc..f2ec6aae9f2 100644 --- a/compiler/rustc_target/src/spec/freebsd_base.rs +++ b/compiler/rustc_target/src/spec/freebsd_base.rs @@ -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),