Bootstrap does not set cfg(bootstrap)
for build scripts
#138032
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
I was experimenting with some changes to compiler-builtins that were sensitive to bootstrap.
--cfg=bootstrap
does get passed to the crates but doesn't seem to pass to build scripts. E.g. for the build script:But for the crate itself:
Is this behavior intentional?
The text was updated successfully, but these errors were encountered: