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
{{ message }}
Repository navigation
Dry run (-n) error if the builddir directory does not exist in 1.12.0 #2431
Since 1.12.0 dry run commands will produce an error such as error: WriteFile(ninja_builddir/.ninja_lock): Unable to create file. No such file or directory if the builddir directory does not already exist. I reproduced the error with a simple build.ninja file and running ninja -n:
builddir = ninja_builddir
rule cc
command = clang -c $in -o $out
build test.obj: cc test.cpp
Activity
jhasse commentedon May 5, 2024
I think we should fix this regression and then release 1.12.1. Help wanted :)
jhasse commentedon May 5, 2024
@jdrouhard can you have a look?