We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TomlConfig::merge
1 parent 8e6f50b commit 7dfb457Copy full SHA for 7dfb457
src/bootstrap/src/core/config/config.rs
@@ -812,6 +812,8 @@ impl Merge for TomlConfig {
812
exit!(2);
813
});
814
815
+ // FIXME: Similar to `Config::parse_inner`, allow passing a custom `get_toml` from the caller to
816
+ // improve testability since `Config::get_toml` does nothing when `cfg(test)` is enabled.
817
let included_toml = Config::get_toml(&include_path).unwrap_or_else(|e| {
818
eprintln!("ERROR: Failed to parse '{}': {e}", include_path.display());
819
0 commit comments