-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Move all intrinsic declarations into intrinsic.rs. Document them #3369
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
Comments
At one point during the summer, I started documenting these here: https://github.com/mozilla/rust/wiki/Note-rust-intrinsics I obviously didn't get real far... |
intrinsic.rs is injected by the compiler, so I don't think that's a great place for these - still not discoverable. I would rather just put them in |
non-critical for 0.6, de-milestoning |
What remains to be done for this? The file exists, so would all intristic definitions still remaining in other files need to be changed to use private::intristics before this can be closed? |
|
backwards-compatible looks wrong; re-nominating for milestone 1, well-defined. |
Just a bug, de-nominating |
Done. |
simplify no-std tests set panic=abort so that we do not need this eh_personality thing
Our declarations for "rust-intrinsic" functions are currently located wherever they are needed. It would be more useful and probably more maintainable to just declare them all in the injected intrinsic.rs file. Also, they should be documented, because they are currently pretty mysterious.
The text was updated successfully, but these errors were encountered: