Commit 871f047
authored
Rollup merge of rust-lang#124582 - RalfJung:std-not-found, r=Nilstrieb
always print nice 'std not found' error when std is not found
Fixes rust-lang/miri#3529
Arguably Miri is doing something odd by letting people create no-std sysroots for arbitrary targets -- but equally arguably, there's no good reason for rustc to special-case the host triple here. Being a non-host triple does not imply the target is a no-std target, after all.1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
640 | 639 | | |
641 | 640 | | |
642 | 641 | | |
643 | | - | |
644 | | - | |
645 | | - | |
| 642 | + | |
646 | 643 | | |
647 | 644 | | |
648 | 645 | | |
| |||
0 commit comments