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 an intrinsic for checking if a type is managed #7139

Closed
thestinger opened this issue Jun 15, 2013 · 1 comment
Closed

add an intrinsic for checking if a type is managed #7139

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

Comments

@thestinger
Copy link
Contributor

This is needed to call local_malloc/local_free when they're needed from library implementations of smart pointers. Otherwise, you end up having to use ~ pointers for the allocations with the useless 32-byte header.

@thestinger
Copy link
Contributor Author

This is now added, as contains_managed.

flip1995 pushed a commit to flip1995/rust that referenced this issue Jun 17, 2021
Fix use_self FPs on type params

changelog: Fix [`use_self`] false positives on type parameters

Fixes rust-lang#4140
Fixes rust-lang#7139
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

1 participant