You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.5.1: roots that overlap are refused, and a file root globs nothing beside it (#14)
The design record this implements states that overlapping roots are refused,
and 0.5.0 shipped without the check. A file reachable from two roots has two
namespace paths, and which one it got depended on the order of the list; it
was also read twice and merged with itself, so the entry looked like two
implementations agreeing. A misconfiguration that produces a plausible result
is worse than one that stops, and this is the shape of defect where a
requirement folded into a larger change disappears when that change ships.
The re-run glob is now registered only for a directory root. A single file is
its own root and its parent directory is not part of it, so globbing that
parent made an unrelated file beside it an input to the build program. A root
that is the package root itself no longer produces a `./**/*` pattern.
A CI step covers the refusal: the fixture is perturbed to name `src` beside
`src/kernels`, and the build fails naming both roots.
Copy file name to clipboardExpand all lines: mcpp.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[package]
2
2
name = "plugins"
3
3
namespace = "mcpp"
4
-
version = "0.5.0"
4
+
version = "0.5.1"
5
5
description = "Official mcpp build plugins: rule packages under mcpp.rules.*, build-time utilities under mcpp.tools.*, each member selected by a feature"
0 commit comments