Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)
commit0e21bc54c32acd6fb0aa06a38e29e097a8b8191c
tree05b92a2ddd677a1dced74c72de705d14ff82dd12
parentcb315f943dd5f35c3483ac68338b30753b225f5c
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