Skip to content

rustc should open the output file as soon as it starts compiling #6518

Closed
@sethfowler

Description

Consider the following sequence of actions:

  • I run make, which runs rustc.
  • 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.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions