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

Mention that #[cold] and #[inline] work on closures #469

Merged
merged 1 commit into from
Dec 1, 2018
Merged

Mention that #[cold] and #[inline] work on closures #469

merged 1 commit into from
Dec 1, 2018

Conversation

jonas-schievink
Copy link
Contributor

Both make their way to LLVM without problems today. Putting attributes on expressions is mostly still unstable, but can be worked around thanks to rust-lang/rust#32796, so it's possible to rely on this in stable code.

@matthewjasper matthewjasper merged commit cd192bf into rust-lang:master Dec 1, 2018
@matthewjasper
Copy link
Contributor

Thanks!

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