diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2024-03-05 08:23:27 -0500 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2024-03-05 08:23:27 -0500 |
| commit | b76515708b5aab54fc69c50babc03ab92daaff08 (patch) | |
| tree | 544e0796fba99363d4ddbeba4310fc876ded44e9 | |
| parent | 1605928023496ee00ef33fa25ebbbd578a67ba99 (diff) | |
| download | rust-b76515708b5aab54fc69c50babc03ab92daaff08.tar.gz rust-b76515708b5aab54fc69c50babc03ab92daaff08.zip | |
Workaround for linker error about missing -lLLVM-18-rust-1.78.0-nightly
| -rw-r--r-- | build.rs | 6 | ||||
| -rw-r--r-- | deps/libLLVM-18-rust-1.78.0-nightly.so | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/build.rs b/build.rs new file mode 100644 index 00000000000..b93c17793bf --- /dev/null +++ b/build.rs @@ -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"); +} diff --git a/deps/libLLVM-18-rust-1.78.0-nightly.so b/deps/libLLVM-18-rust-1.78.0-nightly.so new file mode 100644 index 00000000000..c44ca790b4f --- /dev/null +++ b/deps/libLLVM-18-rust-1.78.0-nightly.so @@ -0,0 +1 @@ +INPUT(libLLVM.so.18.1-rust-1.78.0-nightly) |
