about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2025-05-29 15:39:54 +0300
committeronur-ozkan <work@onurozkan.dev>2025-05-29 15:40:07 +0300
commit0565d43060298260e84c2aaa1f12bf8bf6198703 (patch)
treed897626fd67e46b47ccc89bcc152ced2ddbae082 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent38081f22c2d7380f272aa1d7fa9b935637701c2d (diff)
downloadrust-0565d43060298260e84c2aaa1f12bf8bf6198703.tar.gz
rust-0565d43060298260e84c2aaa1f12bf8bf6198703.zip
resolve stage0 sysroot from rustc
Instead of manually navigating directories based on stage0 rustc, use `--print sysroot`
to get the sysroot directly. This also works when using the bootstrap `rustc` shim.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions