Workaround for linker error about missing -lLLVM-18-rust-1.78.0-nightly

This commit is contained in:
Antoni Boucher 2024-03-05 08:23:27 -05:00
parent 1605928023
commit b76515708b
2 changed files with 7 additions and 0 deletions

6
build.rs Normal file
View File

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

View File

@ -0,0 +1 @@
INPUT(libLLVM.so.18.1-rust-1.78.0-nightly)