Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 27 May 2024 11:28:20 +0000 (13:28 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Mon, 27 May 2024 11:28:20 +0000 (13:28 +0200)
commitd51ed32677bc1af3cde59e5731e5ac45c871ff7a
tree9bff3ed197a9d6708533d81a0deaf91ef7a12845
parentee54cbc9ed4084f300f4a177ce579b6f31f51016
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