Skip to content

rustc should emit an error when there's a bootstrap key mismatch #36544

Closed
@brson

Description

@brson

@glandium hit a situation today where he was trying to bootstrap from the wrong compiler, and because rustc didn't see a bootstrap key match it just didn't turn on unstable features, and resulted in a mysterious failure. An error about a bootstrap key mismatch would be much more clear.

Fix is probably in rustc::session::config where CFG_BOOTSTRAP_KEY is compared.

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-driverArea: rustc_driver that ties everything together into the `rustc` compilerE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions