diff options
author | Michael Goulet <michael@errs.io> | 2023-04-11 20:28:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 20:28:48 -0700 |
commit | 2f5440c38ae9d6c63476e24fb9a7d8e6cf5833ae (patch) | |
tree | d6dd144dcca443180486af73ec18c17884b59b98 /tests/rustdoc-js-std/parser-errors.js | |
parent | 4f2f7fda1045645a1f750539bf16216ab4370799 (diff) | |
parent | 47ff60dc09299b15102b4ebe0efd6a0446fe5a05 (diff) | |
download | rust-2f5440c38ae9d6c63476e24fb9a7d8e6cf5833ae.tar.gz |
Rollup merge of #110113 - jyn514:download-rustc-cross, r=albertlarsan68
Fix `x test ui --target foo` when download-rustc is enabled
Previously, we would never build the target std, only the host std:
```
; x t tests/ui/attributes --target wasm32-unknown-unknown
Building bootstrap
Finished dev [unoptimized] target(s) in 0.02s
Building stage0 library artifacts (x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.08s
Building tool compiletest (stage0)
Finished release [optimized] target(s) in 0.09s
Check compiletest suite=ui mode=ui (x86_64-unknown-linux-gnu -> wasm32-unknown-unknown)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { depth: 0, inner: Io { path: Some("/home/jyn/src/rust2/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/wasm32-unknown-unknown/lib"), err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }', src/tools/compiletest/src/main.rs:842:31
```
Helps with https://github.com/rust-lang/rust/issues/81930.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions