Skip to content

Commit

Permalink
bootstrap: Build sanitizer runtimes for aarch64-unknown-linux-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiasko committed Jun 20, 2020
1 parent 2851c9f commit a3e88be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/bootstrap/native.rs
Expand Up @@ -701,6 +701,15 @@ fn supported_sanitizers(
});
}
}
"aarch64-unknown-linux-gnu" => {
for s in &["asan", "lsan", "msan", "tsan"] {
result.push(SanitizerRuntime {
cmake_target: format!("clang_rt.{}-aarch64", s),
path: out_dir.join(&format!("build/lib/linux/libclang_rt.{}-aarch64.a", s)),
name: format!("librustc-{}_rt.{}.a", channel, s),
});
}
}
"x86_64-unknown-linux-gnu" => {
for s in &["asan", "lsan", "msan", "tsan"] {
result.push(SanitizerRuntime {
Expand Down

0 comments on commit a3e88be

Please sign in to comment.