Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Tue, 28 May 2024 15:06:58 +0000 (17:06 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Tue, 28 May 2024 15:06:58 +0000 (17:06 +0200)
commit5be2a8c9fcd5024ccb0f458409246d3c9d541cf6
tree0ded6bd83de6bd6669db607f38c3b31c11dfaf52
parentef95d1e96dc7932342c4d15100d0711dc2b8ac8e
Fix get_toml() when cfg(test)

Bug: https://github.com/rust-lang/rust/issues/105766
Last-Update: 2023-03-29

When cfg(test), Config::parse doesn't parse a config.toml but uses default
values, failing when the initial rustc is needed. This is a workaround before
upstream issue gets solved.
Last-Update: 2023-03-29
Gbp-Pq: Name u-fix-get-toml-when-test.patch
src/bootstrap/config.rs