-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Open
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
Summary
Ferrocene maintains a fork of bootstrap with different configuration options than upstream. We put these under a [ferrocene.*] table, which means that using a ferrocene-specific config.toml with an upstream branch causes bootstrap to error.
Does t-bootstrap have any interest in adding a [metadata] field with arbitrary data here so that we can hook onto it, like package.metadata in Cargo.toml? We don't need you to do anything at all with it, just parse the TOML and discard it. I'm happy to make a PR implementing the code.
Command used
x buildExpected behaviour
[custom options are ignored]
Actual behaviour
ERROR: Failed to parse '/Users/jyn/src/rust-upstream/config.toml': unknown field `ferrocene`
Bootstrap configuration (bootstrap.toml)
[ferrocene.example]
option = trueOperating system
macOS Version 15.5 (24F74) Darwin 24.5.0
HEAD
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)