Skip to content

Commit

Permalink
Auto merge of #88023 - devnexen:fbsd_arm64, r=nagisa
Browse files Browse the repository at this point in the history
freebsd arm64 add supported sanitizers.
  • Loading branch information
bors committed Aug 19, 2021
2 parents a9ab2e5 + df751d8 commit 20e9234
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions compiler/rustc_target/src/spec/aarch64_unknown_freebsd.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
use crate::spec::{Target, TargetOptions};
use crate::spec::{SanitizerSet, Target, TargetOptions};

pub fn target() -> Target {
Target {
llvm_target: "aarch64-unknown-freebsd".to_string(),
pointer_width: 64,
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
arch: "aarch64".to_string(),
options: TargetOptions { max_atomic_width: Some(128), ..super::freebsd_base::opts() },
options: TargetOptions {
max_atomic_width: Some(128),
supported_sanitizers: SanitizerSet::ADDRESS
| SanitizerSet::MEMORY
| SanitizerSet::THREAD,
..super::freebsd_base::opts()
},
}
}

0 comments on commit 20e9234

Please sign in to comment.