-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix msvc stdout not shown on error #1303
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do this in create_compile_object_cmd
(and not more generally in try_get_compiler
)?
Hmmm I didn't think of this at all! Looking at it closer, I think there are two reasons not to do that:
|
If we consider changing the shown language a breaking change, then changing it in
I doubt there's a thought-out reason for that? In any case, I'm pretty sure that workaround can be removed nowadays (the problem was using the general
Those all seem positive to force being English (provided we decide to force English at all)? |
src/lib.rs
Outdated
@@ -1784,6 +1784,9 @@ impl Build { | |||
if cfg!(target_os = "macos") { | |||
self.fix_env_for_apple_os(&mut cmd)?; | |||
} | |||
if msvc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only when linking for MSVC? Seems like we'd want to do this everywhere, if we wanted to do it in the first place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks updated.
yes that's true.
Yeah, thanks, I've changed it to be set in |
Fixed #1260