Skip to content

"ninja -t restat" doesn't work with "builddir"#2730

Open
jhasse wants to merge 1 commit intoninja-build:masterfrom
jhasse:restat-with-builddir
Open

"ninja -t restat" doesn't work with "builddir"#2730
jhasse wants to merge 1 commit intoninja-build:masterfrom
jhasse:restat-with-builddir

Conversation

@jhasse
Copy link
Collaborator

@jhasse jhasse commented Feb 16, 2026

When specifying "builddir = foo" in the manifest ninja -t restat doesn't work because the tool skips parsing the manifest for performance reasons. Maybe we should parse it but stop as soon as we have the builddir which is often at the beginning of the file.

@jhasse
Copy link
Collaborator Author

jhasse commented Feb 16, 2026

Changing RUN_AFTER_FLAGS to RUN_AFTER_LOAD would fix this, but it would reintroduce #1718. See d986e4d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant