about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-05 09:33:21 +0200
committerGitHub <noreply@github.com>2022-04-05 09:33:21 +0200
commit73eab351093a16637298fc501ded798d26419d73 (patch)
tree297d6b49a2eb4bf83b7941cee299be8fdef1dc32 /compiler/rustc_codegen_gcc/example/example.rs
parentb7047c2bc2752f0e0f6763b9a771eda53677124a (diff)
parent064a55952eaa0fddb01aa52740707f3e0d4c7e23 (diff)
downloadrust-73eab351093a16637298fc501ded798d26419d73.tar.gz
rust-73eab351093a16637298fc501ded798d26419d73.zip
Rollup merge of #95449 - jyn514:doc-stage-0, r=ehuss
Fix `x doc --stage 0 compiler`

Eric figured out the fix to this almost 2 years ago, I just didn't read his comment carefully enough at the timme.
The issue was that fake rustc and fake rustdoc were inconsistent about when they passed `--sysroot` to the real compiler.
Change them to consistently only pass it when `--target` is present.

cc https://github.com/rust-lang/rust/issues/74976#issuecomment-667265945
Fixes https://github.com/rust-lang/rust/issues/79980

r? ``@ehuss``
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions