diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs index 107f2b65171..ba160ff28dc 100644 --- a/compiler/rustc_llvm/build.rs +++ b/compiler/rustc_llvm/build.rs @@ -242,6 +242,7 @@ fn main() { } // We need libkstat for getHostCPUName on SPARC builds. + // See also: https://github.com/llvm/llvm-project/issues/64186 if target.starts_with("sparcv9") && target.contains("solaris") { println!("cargo:rustc-link-lib=kstat"); }