Skip to content

Rust 0.8 version doesn't work on Windows. #9558

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

Closed
taigua opened this issue Sep 27, 2013 · 2 comments
Closed

Rust 0.8 version doesn't work on Windows. #9558

taigua opened this issue Sep 27, 2013 · 2 comments
Labels
O-windows Operating system: Windows

Comments

@taigua
Copy link

taigua commented Sep 27, 2013

I use the http://static.rust-lang.org/dist/rust-0.8-install.exe.
My PC: Windows 7 64bit.

rust --version
rust 0.8
host: i686-pc-mingw32
Compile the code on the main page (http://www.rust-lang.org/)
set RUST_LOG=rustc=1
rustc hello.rs
task failed at 'failure in CreateProcess: System can not find the specified file.', C:\bot\slave\dist2-win\build\src\libstd\run.rs:532
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the re
sults to github.com/mozilla/rust/issues
task failed at 'explicit failure', c:\bot\slave\dist2-win\build\src\li
brustc\rustc.rs:391

@thestinger
Copy link
Contributor

Do you have gcc somewhere in your path for rustc to find?

@taigua
Copy link
Author

taigua commented Sep 27, 2013

Oh, I see. that's the problem.
I have MinGW/bin in my path. But the rust-0.8-install.exe changed my %PATH%, and can't find gcc.
It works after I reset my PATH.
Thank you.
Please close this issue.

flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 6, 2022
Add `disallowed_macros` lint

Closes rust-lang#7790
Fixes rust-lang#9558

`clippy_utils::def_path_res` already resolved macro definitions which is nice, it just needed a tweak to be able to disambiguate e.g. `std::vec` the module & `std::vec` the macro, and `serde::Serialize` the trait & `serde::Serialize` the derive macro

changelog: new lint: [`disallowed_macros`]
changelog: [`disallowed_methods`], [`disallowed_types`]: Fix false negative when a type/fn/macro share the same path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-windows Operating system: Windows
Projects
None yet
Development

No branches or pull requests

2 participants