Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 15 Feb 2024 05:52:19 +0000 (06:52 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 15 Feb 2024 05:52:19 +0000 (06:52 +0100)
commitb66a9789f58353b1ad95b19137e6dec945d78c5b
tree49e3d8cc81839daba4c2aac8c6b06241ac2d2322
parent367852b0a5b6eaec084ad7ed7c06f3f243e505e9
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