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.
1 parent 003f1fa commit b99d149Copy full SHA for b99d149
Cargo.toml
@@ -11,6 +11,7 @@ description = """
11
Compiler intrinsics used by the Rust compiler. Also available for other targets
12
if necessary!
13
"""
14
+links = 'compiler-rt'
15
16
[lib]
17
test = false
build.rs
@@ -4,6 +4,9 @@ fn main() {
4
println!("cargo:rerun-if-changed=build.rs");
5
6
let target = env::var("TARGET").unwrap();
7
+ let cwd = env::current_dir().unwrap();
8
+
9
+ println!("cargo:compiler-rt={}", cwd.join("compiler-rt").display());
10
// Emscripten's runtime includes all the builtins
if target.contains("emscripten") {
0 commit comments