This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
2fcea9fb68c8e04f10e5cb15bbfb486de9800afa
rust
/
tests
/
ui
/
target-feature
/
auxiliary
/
using-target-feature-unstable.rs
6 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Stabilize `avx512_target_feature`
2025-04-17 03:28:16 +05:30
#![
feature(x87_target_feature)
]
rustc: Whitelist upstream target_features When compiling crates we'll be calculating and parsing `#[target_feature]` for upstream crates. We'll also be checking the stability of listed features, but we only want to check the listed stability during the actual crate that wrote the relevant code. This commit updates the `target_feature` process to ignore foreign `DefId` instances and only check the feature whitelist for local functions. Closes #50094
2018-04-19 17:50:31 -07:00
#[
inline
]
Stabilize `avx512_target_feature`
2025-04-17 03:28:16 +05:30
#[
target_feature(enable =
"
x87
"
)
]
rustc: Whitelist upstream target_features When compiling crates we'll be calculating and parsing `#[target_feature]` for upstream crates. We'll also be checking the stability of listed features, but we only want to check the listed stability during the actual crate that wrote the relevant code. This commit updates the `target_feature` process to ignore foreign `DefId` instances and only check the feature whitelist for local functions. Closes #50094
2018-04-19 17:50:31 -07:00
pub
unsafe
fn
foo
(
)
{
}
Reference in New Issue
Copy Permalink