rustc should open the output file as soon as it starts compiling #6518
Closed
Description
Consider the following sequence of actions:
- I run
make
, which runsrustc
. - I update a source file while
rustc
is compiling. rustc
finishes compiling.
What I expect is that, if I run make
again, the changes will get detected and rustc
will be invoked again. What actually happens is that make
reports that there's nothing to be done.
This is probably because rustc
is waiting way too long to open the output file, so updates to source files while the compiler's running appear to "happen before" the output file from make
's point of view.
Metadata
Assignees
Labels
No labels
Activity