about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2020-07-20 19:07:23 +0300
committerGreg V <greg@unrelenting.technology>2020-08-09 17:51:41 +0300
commit2f39477ecffb0dd3a08bf76bfb44aafcdb4aae6a (patch)
treead6d34ae8b5884c2688101b754a8f4a2dbd3626a /src/tools
parent8bc801b05019cd3e0ef19e6c4c028d55baa645d2 (diff)
downloadrust-2f39477ecffb0dd3a08bf76bfb44aafcdb4aae6a.tar.gz
rust-2f39477ecffb0dd3a08bf76bfb44aafcdb4aae6a.zip
Add sanitizer support on FreeBSD
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/compiletest/src/util.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tools/compiletest/src/util.rs b/src/tools/compiletest/src/util.rs
index ddd7941b114..a776bb0bfe4 100644
--- a/src/tools/compiletest/src/util.rs
+++ b/src/tools/compiletest/src/util.rs
@@ -87,6 +87,7 @@ pub const ASAN_SUPPORTED_TARGETS: &'static [&'static str] = &[
     "aarch64-unknown-linux-gnu",
     "x86_64-apple-darwin",
     "x86_64-fuchsia",
+    "x86_64-unknown-freebsd",
     "x86_64-unknown-linux-gnu",
 ];
 
@@ -94,10 +95,14 @@ pub const LSAN_SUPPORTED_TARGETS: &'static [&'static str] =
     &["aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"];
 
 pub const MSAN_SUPPORTED_TARGETS: &'static [&'static str] =
-    &["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"];
+    &["aarch64-unknown-linux-gnu", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"];
 
-pub const TSAN_SUPPORTED_TARGETS: &'static [&'static str] =
-    &["aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"];
+pub const TSAN_SUPPORTED_TARGETS: &'static [&'static str] = &[
+    "aarch64-unknown-linux-gnu",
+    "x86_64-apple-darwin",
+    "x86_64-unknown-freebsd",
+    "x86_64-unknown-linux-gnu",
+];
 
 const BIG_ENDIAN: &'static [&'static str] = &[
     "armebv7r",