about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-03-10 08:47:53 -0600
committerJoshua Nelson <jnelson@cloudflare.com>2022-03-10 17:25:29 -0600
commit25a7d2d540656e0499a43bfd01243250f2a25d7a (patch)
treeba89d9430d3f61853651fa6c9936c08f25be4a41 /compiler/rustc_codegen_gcc/example/example.rs
parent687e53ebfe107fb81288df0273e581c55fd411a4 (diff)
downloadrust-25a7d2d540656e0499a43bfd01243250f2a25d7a.tar.gz
rust-25a7d2d540656e0499a43bfd01243250f2a25d7a.zip
Fix `cargo run tidy`
When I implemented rust-only bootstrapping in https://github.com/rust-lang/rust/pull/92260,
I neglected to test stage0 tools - it turns out they were broken because
they couldn't find the sysroot of the initial bootstrap compiler.

This fixes stage0 tools by using `rustc --print sysroot` instead of assuming rustc is already in a
sysroot and hard-coding the relative directory.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions