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

rustc can't find libpthread-2.dll, mingw ships with pthreadGC2.dll #8786

Closed
cnd opened this issue Aug 27, 2013 · 6 comments
Closed

rustc can't find libpthread-2.dll, mingw ships with pthreadGC2.dll #8786

cnd opened this issue Aug 27, 2013 · 6 comments

Comments

@cnd
Copy link
Contributor

cnd commented Aug 27, 2013

Why rustc depends on libpthread-2.dll and not on pthreadGC2.dll ?

Should I get some older version of mingw / msys ?

@klutzy
Copy link
Contributor

klutzy commented Aug 27, 2013

MinGW renamed dll: pthreadGC2.dll -> libpthread-2.dll.

@cnd
Copy link
Contributor Author

cnd commented Aug 27, 2013

with renamed, rustc.exe from i686-pc-mingw32\stage0\bin fails with 0xc000000005

@Daetalus
Copy link

downgrade your mingw version from 4.7.x to 4.6.x.

@cnd
Copy link
Contributor Author

cnd commented Aug 27, 2013

how?

as this wiki ( https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust ) suggested I used mingw-get-inst http://sourceforge.net/projects/mingw/

And it's not clear for me how to downgrade it... It also will be great to add it to wiki page thought.

@klutzy
Copy link
Contributor

klutzy commented Sep 4, 2013

@Heather I think mingw-get upgrade "gcc<4.6" and mingw-get upgrade "g++<4.6" on msys will work, as the doc states.

@cnd
Copy link
Contributor Author

cnd commented Sep 4, 2013

@klutzy thanks

@cnd cnd closed this as completed Sep 4, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Jun 4, 2022
…swij,xFrednet

`identity_op`: add parenthesis to suggestions where required

changelog: [`identity_op`]: add parenthesis to suggestions where required

Follow up to rust-lang#8730, wraps the cases we can't lint as-is in parenthesis rather than ignoring them

Catches a couple new FPs with mixed operator precedences and `as` casts

```rust
// such as
0 + { a } * 2;
0 + a as usize;
```

The suggestions are now applied using `span_lint_and_sugg` rather than appearing in just the message and have a `run-rustfix` test
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

3 participants