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
There is a bug in the 'true' command above, it generates only one of the outputs and returns '0'.
On the first build:
ubuntu: ninja> ./ninja -d explain -v -f tst2.ninja
ninja explain: command line not found in log for auto.h
ninja explain: auto.c is dirty
ninja explain: auto.h is dirty
[1/2] [ -e auto.h ] || touch auto.h # Simulate 'restat'
ninja explain: command line not found in log for out
[2/2] touch out
Minor problem with multiple targets and 'restat' (anyone uses that?) which I've noticed while working on #608.
There is a bug in the 'true' command above, it generates only one of the outputs and returns '0'.
On the first build:
that's ok.
On the 2nd:
That I would expect is that 'out' would be rebuilt also (as auto.c doesn't exist and restat was not supposed to clean 'out'), but it is not.
ubuntu: ninja> tail -n1 .ninja_log
0 2 0 auto.c 97a40aff32c1d21a
I think the problem is that '0' stored as 'restat' value of auto.c is also used as 'file doesn't exists' indicator in 'Node'.
The text was updated successfully, but these errors were encountered: