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: Translate monomorphic intra-crate automatically-derived method… #3871

Merged
merged 1 commit into from
Oct 29, 2012

Conversation

pcwalton
Copy link
Contributor

...hat follow the "eq" format

r? @brson

@brson
Copy link
Contributor

brson commented Oct 27, 2012

r+

pcwalton added a commit that referenced this pull request Oct 29, 2012
 	rustc: Translate monomorphic intra-crate automatically-derived method…
@pcwalton pcwalton merged commit 17a875b into rust-lang:incoming Oct 29, 2012
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Sep 17, 2024
…fJung

detect when pthread_rwlock_t is moved

For some implementations of pthreads, the address of pthread_rwlock_t (or its fields) is used to identify the lock. That means that if the contents of a pthread_rwlock_t are moved in memory, effectively a new lock object is created, which is completely independted from the original. Thus we want to detect when when such objects are moved and show an error.

see also rust-lang#3749 for more context
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.

2 participants