Figure out how to check that minicore
matches signatures of real core
#137531
Labels
A-test-infra
Area: test infrastructure (may span bootstrap/compiletest/more)
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Currently, there's no safeguard to guard against
minicore
signatures and type definitions drifting/diverging from that of the realcore
, which is very much not ideal. We should figure out a way to check if the signatures (and type definitions, where applicable) match betweenminicore
and realcore
.One related issue that may help with this is to use host
core
when available but that in itself is insufficient (and can cause complications where something only fails on targets where hostcore
isn't available).The text was updated successfully, but these errors were encountered: