We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f9bbc9 + d8bbc81 commit 4cfd710Copy full SHA for 4cfd710
build.rs
@@ -10,6 +10,13 @@ fn main() {
10
return;
11
}
12
13
+ // OpenBSD provides compiler_rt by default, use it instead of rebuilding it from source
14
+ if target.contains("openbsd") {
15
+ println!("cargo:rustc-link-search=native=/usr/lib");
16
+ println!("cargo:rustc-link-lib=static=compiler_rt");
17
+ return;
18
+ }
19
+
20
// Forcibly enable memory intrinsics on wasm32 as we don't have a libc to
21
// provide them.
22
if target.contains("wasm32") {
0 commit comments