diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-12 04:38:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-12 04:38:21 +0200 |
| commit | a510cbdeade1eea6ad7e325fd4245447f61da601 (patch) | |
| tree | 315bc14d12523a7192c7da941cdd49d5461234c1 /tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs | |
| parent | 6f78bf23226c664915d953e591c671678ef722d1 (diff) | |
| parent | 7e171c72cbddb0636fa8ce71a0e862486ae72625 (diff) | |
| download | rust-a510cbdeade1eea6ad7e325fd4245447f61da601.tar.gz rust-a510cbdeade1eea6ad7e325fd4245447f61da601.zip | |
Rollup merge of #123763 - cuviper:host-rpath-run-make-v2, r=jieyouxu
Set the host library path in run-make v2 When the build is configured with `[rust] rpath = false`, we need to set `LD_LIBRARY_PATH` (or equivalent) to what would have been the `RPATH`, so the compiler can find its own libraries. The old `tools.mk` code has this environment prefixed in the `$(BARE_RUSTC)` variable, so we just need to wire up something similar for run-make v2. This is now set while building each `rmake.rs` itself, as well as in the `rust-make-support` helpers for `rustc` and `rustdoc` commands. This is also available in a `set_host_rpath` function for manual commands, like in the `compiler-builtins` test.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs')
0 files changed, 0 insertions, 0 deletions
