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

fix compiletest deadlock on freebsd #2523

Merged
merged 1 commit into from
Jun 7, 2012
Merged

Conversation

crabtw
Copy link
Contributor

@crabtw crabtw commented Jun 7, 2012

Adding "-pthread" link flag seems to fix the problem.
make check runs successfully and does not encounter #2325 and #2520 .
By the way, I also remove bind-native-fn from tests because of #2522.

catamorphism added a commit that referenced this pull request Jun 7, 2012
fix compiletest deadlock on freebsd
@catamorphism catamorphism merged commit d8c16df into rust-lang:master Jun 7, 2012
@catamorphism
Copy link
Contributor

Thanks!

@brson
Copy link
Contributor

brson commented Jun 7, 2012

Super awesome!

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2022
Add a protector test that demonstrates the base tag diagnostic

Per rust-lang/miri#2519 (comment), this demonstrates this case for protector diagnostics:
```
help: <3131> was created here, as a base tag for alloc1623
  --> tests/fail/stacked_borrows/invalidate_against_protector3.rs:10:19
   |
10 |         let ptr = std::alloc::alloc(std::alloc::Layout::for_value(&0i32)) as *mut i32;
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
This diagnostic is inspired by what Miri used to do with rust-lang#60076 (comment)
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

Successfully merging this pull request may close these issues.

3 participants