Skip to content

Cleanup: Use #[rust_intrinsic] and nix rust-intrinsic et. al #63585

Description

@Centril

Per @eddyb's suggestion (rust-lang/reference#652 (comment)):

Not sure these should be documented, we've been meaning to remove all 3 for years...
cc @oli-obk at least for intrinsics we could maybe have an intermediary stage where we do #[rustc_intrinsic] extern "Rust" {...} instead of extern "rust-intrinsic" {...}?

I would maybe call them "pseudo-ABIs", in that they use the ABI string to indicate something special not purporting to the ABI, but are otherwise the "Rust" ABI.

cc @oli-obk, @nagisa, and @nikomatsakis

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-intrinsicsArea: IntrinsicsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions