Repository navigation
compat.quickjs-ng: each source one pattern over both layouts, so no build warns of a missing path - #931
Merged
Conversation
…uild warns of a missing path Since #903 the four engine sources were named twice, once per layout ("dtoa.c" for an install that install() flattened, "quickjs-0.17.0/dtoa.c" for a 0.17.0 installed before it, its release directory kept). In any one install one path of each pair names no file, and mcpp 2026.11.27.1 reports an exact source path that names no file: four warnings on every build that reaches the package (#930), on fresh runners for the kept paths and on older installs for the flat ones. Each source is now one brace pattern, "{quickjs-0.17.0/,}dtoa.c": mcpp expands it to the two places (an empty alternative is the install root) and reports no pattern that matches nothing in one of them. Only those two places are searched, as before. The LAYOUT note says why. Checked: tests/examples/quickjs-ng on an install kept from before #903 (it compiles .../0.17.0/quickjs-0.17.0/dtoa.c), no warning, its case passes; the descriptor lints and `mcpp xpkg parse`. The flattened install is CI's fresh one. Closes #930 Signed-off-by: Sunrisepeak <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #930.
Since #903
compat.quickjs-ngnamed each of its four engine sources twice, once per layout (dtoa.cfor an installinstall()flattened,quickjs-0.17.0/dtoa.cfor a 0.17.0 installed before it). In any one install one of each pair names no file, and mcpp 2026.11.27.1 reports an exact source path that names no file — four warnings on every build that reaches the package.Each source is now one brace pattern,
{quickjs-0.17.0/,}dtoa.c: mcpp expands it to the two places (the empty alternative is the install root;expand_bracesinsrc/modgraph/scanner.cppm) and does not report a pattern (unnamed_sourcesskips entries with*?[{). Only those two places are searched, as before. The LAYOUT note says why.Checked locally (mcpp 2026.11.27.1):
tests/examples/quickjs-ngon an install kept from before #903 compiles…/0.17.0/quickjs-0.17.0/dtoa.cwith no warning and its case passes; the descriptor lints;mcpp xpkg parse. The flattened layout is CI's fresh install.