Give some intrinsics fallback bodies by oli-obk · Pull Request #121192 · rust-lang/rust (original) (raw)

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Jul 18, 2024

@rust-timer

Rollup merge of rust-lang#127337 - celinval:intrinsics-fallback, r=oli-obk

Move a few intrinsics to Rust abi

Move a few more intrinsic functions to the convention added in rust-lang#121192. In the second commit, I added documentation about their safety requirements. Let me know if you would like me to move the second commit to a different PR.

Note: I kept the same signature of pref_align_of, but I was wondering why this function is considered unsafe?