compilers: don't recommend deprecated env var

RUST_LD was deprecated in Meson 0.54 in favor of RUSTC_LD.
pull/11864/head
Alyssa Ross 2 years ago committed by Eli Schwartz
parent b0d2a92584
commit 8c766f5b5b
  1. 2
      mesonbuild/compilers/detect.py

@ -1014,7 +1014,7 @@ def detect_rust_compiler(env: 'Environment', for_machine: MachineChoice) -> Rust
mlog.warning(
'Please do not put -C linker= in your compiler '
'command, set rust_ld=command in your cross file '
'or use the RUST_LD environment variable, otherwise meson '
'or use the RUSTC_LD environment variable, otherwise meson '
'will override your selection.')
compiler = compiler.copy() # avoid mutating the original list

Loading…
Cancel
Save