diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-07-22 02:04:05 +0000 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-07-24 01:29:42 +0000 |
| commit | 17f7536fb220fc53cd0af2de46528070cfab012c (patch) | |
| tree | 9678b24670047f8107935dbc19b154dc94412994 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 32c9b7b091534f6d80e7e85da0cd425acb6c9a79 (diff) | |
| download | rust-17f7536fb220fc53cd0af2de46528070cfab012c.tar.gz rust-17f7536fb220fc53cd0af2de46528070cfab012c.zip | |
Remove detection of rustup and cargo in 'missing extern crate' diagnostics
Previously, this would change the test output when RUSTUP_HOME was set: ``` ---- [ui] ui/issues/issue-49851/compiler-builtins-error.rs stdout ---- diff of stderr: 1 error[E0463]: can't find crate for `core` 2 | 3 = note: the `thumbv7em-none-eabihf` target may not be installed + = help: consider downloading the target with `rustup target add thumbv7em-none-eabihf` 4 5 error: aborting due to previous error 6 ``` Originally, I fixed it by explicitly unsetting RUSTUP_HOME in compiletest. Then I realized that almost no one has RUSTUP_HOME set, since rustup doesn't set it itself; although it does set RUST_RECURSION_COUNT whenever it launches a proxy. Then it was pointed out that this runtime check doesn't really make sense and it's fine to make it unconditional.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
