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

add a way to mark raw pointers noalias #13996

Closed
thestinger opened this issue May 6, 2014 · 1 comment
Closed

add a way to mark raw pointers noalias #13996

thestinger opened this issue May 6, 2014 · 1 comment
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@thestinger
Copy link
Contributor

Rust is missing an equivalent to restrict in C for raw pointers. The jemalloc bindings need some way of marking the return value as noalias, which is an optimization hard-wired for the malloc symbol...

@thestinger thestinger changed the title add a way to mark raw pointers noalias / non-null add a way to mark raw pointers noalias Sep 15, 2014
@emberian emberian self-assigned this Mar 25, 2015
@emberian emberian removed their assignment Jan 5, 2016
@steveklabnik
Copy link
Member

Closing in favor of rust-lang/rfcs#1410

bors added a commit to rust-lang-ci/rust that referenced this issue Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

3 participants