Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Wed, 21 Feb 2024 00:14:38 +0000 (00:14 +0000)
committerRaspbian forward porter <root@raspbian.org>
Wed, 21 Feb 2024 00:14:38 +0000 (00:14 +0000)
commit1e9b2d96f8fab4c52836ad93c6f3ddc0789c916c
tree8a7b49505bbaf134b7d26b8496f337af601781a0
parent91fc990c20ce7b21b1ad27bc839b59272c530a26
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