mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
f04e3dfc87
use minicore for more tests r? `@jieyouxu` Unfortunately this doesn't work for all tests; minicore sometimes fails to build with errors like ``` rustc-LLVM ERROR: ILP32E cannot be used with the D ISA extension ``` and ``` error: the target features paca, pacg must all be either enabled or disabled together ``` These errors are meant to be triggered in the tests, but not in minicore. It seems like all ``@compile-flags`` are forwarded to minicore. Maybe we should exclude `-Ctarget-feature` from that? Or provide some way to set flags only for the current file, not minicore?