Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 13 Jun 2024 11:01:11 +0000 (11:01 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 13 Jun 2024 11:01:11 +0000 (11:01 +0000)
commit1577c2cc8c613fdb7e3153197959d5deee193593
tree054ba36df3f02d2f38f221eb18cd7799de1f33a8
parente0bb00cf6bd9cfe535c57892bb9916d41847c171
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