Skip to content

Commit b765157

Browse files
committed
Workaround for linker error about missing -lLLVM-18-rust-1.78.0-nightly
1 parent 1605928 commit b765157

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

build.rs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// TODO: remove this file and deps/libLLVM-18-rust-1.78.0-nightly.so when
2+
// https://github.com/rust-lang/rust/pull/121967 is merged.
3+
fn main() {
4+
println!("cargo:rerun-if-changed=deps/libLLVM-18-rust-1.78.0-nightly.so");
5+
println!("cargo:rustc-link-search=deps");
6+
}
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
INPUT(libLLVM.so.18.1-rust-1.78.0-nightly)

0 commit comments

Comments
 (0)