Skip to content
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

rustpkg can't find std on Windows #10903

Closed
jhasse opened this issue Dec 10, 2013 · 0 comments
Closed

rustpkg can't find std on Windows #10903

jhasse opened this issue Dec 10, 2013 · 0 comments

Comments

@jhasse
Copy link
Contributor

jhasse commented Dec 10, 2013

I've installed latest rust on Windows built with MinGW GCC 4.7.0. I've tried installing with prefix /mingw and /usr/local. Both times I'm getting the following error when using rustpkg (no matter which package):

$ rustpkg build sdl2
WARNING: The Rust package manager is experimental and may be unstable
error: Package sdl2 depends on std, but I don't know how to find it
task '<unnamed>' failed at 'explicit failure', C:\Users\jhass_000\git\rust\src\librustpkg\util.rs:502
task '<unnamed>' failed at 'receiving on closed channel', C:\Users\jhass_000\git\rust\src\libstd\rt\comm.rs:199

I've also tried

$ export RUST_PATH=/mingw/bin

because std-6425b930ca146ae9-0.9-pre.dll is there.

@bors bors closed this as completed in 85d33a0 Dec 14, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Feb 26, 2024
[`new_without_default`]: Now emits on const fns

While `Default::default` is not const, it can still call `const new`; there's no reason this shouldn't be linted as well.

fixes rust-lang#10877

changelog: [`new_without_default`]: Now emits on const fns
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

No branches or pull requests

1 participant