Skip to content

make small ty_struct immediate #9759

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

Merged
merged 1 commit into from
Oct 8, 2013
Merged

make small ty_struct immediate #9759

merged 1 commit into from
Oct 8, 2013

Conversation

thestinger
Copy link
Contributor

Closes #9651

@thestinger
Copy link
Contributor Author

There is an existing bug hit by UnsafeArc with this change. The bug is already around if the type is changed to being a newtype struct, so I don't think it should block this.

I've investigated it quite thoroughly but still haven't determined where the cleanup cancelling for immediates goes wrong. By removing the annotation stripping the drop flag, the type becomes 2 words and is no longer immediate.

bors added a commit that referenced this pull request Oct 8, 2013
@bors bors closed this Oct 8, 2013
@bors bors merged commit ac1faba into rust-lang:master Oct 8, 2013
@thestinger thestinger deleted the immediate branch October 13, 2013 15:47
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.

make <= 1-word types immediate
2 participants