We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TomlConfig::merge
1 parent 7dfb457 commit 6d52b51Copy full SHA for 6d52b51
src/bootstrap/src/core/config/config.rs
@@ -805,6 +805,8 @@ impl Merge for TomlConfig {
805
.and_then(|p| p.parent().map(ToOwned::to_owned))
806
.unwrap_or_default();
807
808
+ // `include` handled later since we ignore duplicates using `ReplaceOpt::IgnoreDuplicate` to
809
+ // keep the upper-level configuration to take precedence.
810
for include_path in include.clone().unwrap_or_default().iter().rev() {
811
let include_path = parent_dir.join(include_path);
812
let include_path = include_path.canonicalize().unwrap_or_else(|e| {
0 commit comments