about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/examples/rustc-driver-example.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-08-03 17:43:11 +1000
committerZalathar <Zalathar@users.noreply.github.com>2025-08-03 18:07:54 +1000
commit3abbdffdbfe05a596e59dbd6d81a4f17e4d68044 (patch)
tree0716cfa251894dd92952e6a3e0901effe49a2e04 /src/doc/rustc-dev-guide/examples/rustc-driver-example.rs
parent5b9564a18950db64c5aee8ba19d55a97b2e8d1cf (diff)
downloadrust-3abbdffdbfe05a596e59dbd6d81a4f17e4d68044.tar.gz
rust-3abbdffdbfe05a596e59dbd6d81a4f17e4d68044.zip
For "stage 1" ui-fulldeps, use the stage 1 compiler to query target info
Testing ui-fulldeps in "stage 1" actually uses the stage 0 compiler, so that
test programs can link against stage 1 rustc crates.

Unfortunately, using the stage 0 compiler causes problems when compiletest
tries to obtain target information from the compiler, but the output format has
changed since the last bootstrap beta bump.

We can work around this by also providing compiletest with a stage 1 compiler,
and having it use that compiler to query for target information.
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/rustc-driver-example.rs')
0 files changed, 0 insertions, 0 deletions