Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Wed, 13 Sep 2023 11:57:58 +0000 (12:57 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Wed, 13 Sep 2023 11:57:58 +0000 (12:57 +0100)
commitcb981e236e7113541544682dfd91d96d039f8a5c
tree00f18fba84551e43289a84018a73c412f9482fd8
parenta0e9d5c23c3c99a96c3cd4c6877e7fd36964b497
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