-
Notifications
You must be signed in to change notification settings - Fork 176
Compiler intrinsics #312
Copy link
Copy link
Closed
Labels
[C] InternalTracks some internal work. I.e.: Users should not be affected.Tracks some internal work. I.e.: Users should not be affected.
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
[C] InternalTracks some internal work. I.e.: Users should not be affected.Tracks some internal work. I.e.: Users should not be affected.
Rust has hundreds of compiler intrinsics. Unlike most other MIR features, which are represented in the IR using enum types, Rust intrinsics are identified using strings. This makes it difficult to know if we support all required Rust intrinsics.
Also, some instrinsics have complicated semantics, which is not always well documented. It is possible that implementations for these intrinsics may not correctly represent the Rust semantics.
Likelihood:
RMC currently only supports a small fraction of Rust intrinsics.
Mitigation:
Path to soundness:
Either document as as not supported, or add support.
Documentation: