Skip to content

Conversation

@Jake-Shadle
Copy link
Contributor

@Jake-Shadle Jake-Shadle commented Sep 28, 2017

Using flag_if_supported with msvc was causing an actual executable to be produced in the root directory of the compiling crate, causing dependency checks to fail and forcing recompilation without any changes.

This change adds the /c flag to the compiler args so it only compiles to the object file as is the default in gcc and clang.

Resolves: #245

@alexcrichton
Copy link
Member

Looks great to me, thanks!

@alexcrichton alexcrichton merged commit 8d64b6d into rust-lang:master Sep 28, 2017
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.

2 participants