mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
752b6637ce
The unstable features of the `test` crate used to be default-enabled, and manually disabled when building the beta and stable channels. Commitdae8ea92a7flipped that to default-disabled, only enabled for nightly and dev channels. However, this broke miri testing on the beta/stable channels, because it also uses unstable features -- which should be fine to enable just for its own sysroot build. Now the `test` build script makes that happen by noticing the `MIRI_CALLED_FROM_SETUP` environment variable. (cherry picked from commit30d7ed4c47)