-
Notifications
You must be signed in to change notification settings - Fork 13.3k
-Z lto
fails to compile in Windows
#12471
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
Comments
I have investigated a bit more about this issue. It turns out that there are really two independent issues exist:
|
Is the output of |
@alexcrichton It is delimited by |
On windows lines are delimited with \r\n while on unix they're delimited with \n. cc rust-lang#12471
#12475 should fix some of the problems, but the crate map is a little disturbing... |
On windows lines are delimited with \r\n while on unix they're delimited with \n. cc rust-lang#12471
Fixed by #13117: no crate map anymore! |
Oh man, how convenient! |
fix: Restart the server instead of reloading the window when config changes cc rust-lang/rust-analyzer#12469 (comment)
This simple code:
fails to compile with
rustc foo.rs -Z lto
in Windows with MinGW:Undefined references are C symbols from
libstd
,libgreen
andlibrustuv
, which rlibs are not linked against. Tested with the unofficial Windows nightly0.10-pre (cae5999 2014-02-18 19:26:50 -0800)
but I guess this issue is not really related to the nightlies.The text was updated successfully, but these errors were encountered: