Skip to content

librustc: Feature gate lang items and intrinsics. #15066

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

Merged
merged 1 commit into from
Jun 24, 2014

Conversation

pcwalton
Copy link
Contributor

If you define lang items in your crate, add #[feature(lang_items)].

If you define intrinsics (extern "rust-intrinsic"), add
#[feature(intrinsics)].

Closes #12858.

[breaking-change]

r? @brson

If you define lang items in your crate, add `#[feature(lang_items)]`.

If you define intrinsics (`extern "rust-intrinsic"`), add
`#[feature(intrinsics)]`.

Closes rust-lang#12858.

[breaking-change]
bors added a commit that referenced this pull request Jun 24, 2014
… r=alexcrichton

If you define lang items in your crate, add `#[feature(lang_items)]`.

If you define intrinsics (`extern "rust-intrinsic"`), add
`#[feature(intrinsics)]`.

Closes #12858.

[breaking-change]

r? @brson
@bors bors closed this Jun 24, 2014
@bors bors merged commit 5466d13 into rust-lang:master Jun 24, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jun 19, 2023
internal: Analyze all bodies in analysis-stats, not just functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature gate #[lang] attributes and extern "rust-intrinsic" {} blocks
2 participants