Skip to content

Commit a3e88be

Browse files
committed
bootstrap: Build sanitizer runtimes for aarch64-unknown-linux-gnu
1 parent 2851c9f commit a3e88be

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/bootstrap/native.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,15 @@ fn supported_sanitizers(
701701
});
702702
}
703703
}
704+
"aarch64-unknown-linux-gnu" => {
705+
for s in &["asan", "lsan", "msan", "tsan"] {
706+
result.push(SanitizerRuntime {
707+
cmake_target: format!("clang_rt.{}-aarch64", s),
708+
path: out_dir.join(&format!("build/lib/linux/libclang_rt.{}-aarch64.a", s)),
709+
name: format!("librustc-{}_rt.{}.a", channel, s),
710+
});
711+
}
712+
}
704713
"x86_64-unknown-linux-gnu" => {
705714
for s in &["asan", "lsan", "msan", "tsan"] {
706715
result.push(SanitizerRuntime {

0 commit comments

Comments
 (0)