We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38f69c5 commit 78b6420Copy full SHA for 78b6420
src/libstd/build.rs
@@ -31,6 +31,8 @@ fn main() {
31
} else if target.contains("apple-darwin") {
32
println!("cargo:rustc-link-lib=System");
33
#[cfg(miri)]
34
+ // With Miri, we use SecRandomCopyBytes got randomness, so we need to link
35
+ // with `framework=Security`.
36
println!("cargo:rustc-link-lib=framework=Security");
37
38
// res_init and friends require -lresolv on macOS/iOS.
0 commit comments