Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rfcs
/
rfc-2396-target_feature-11
/
issue-108645-target-feature-on-start.rs
blob: 6aa8f6fd821ed3d30464a8c0a0d75b3d1680e38a [
file
] [
log
] [
blame
]
//@ only-x86_64
#![
feature
(
start
)]
#![
feature
(
target_feature_11
)]
#[
start
]
#[
target_feature
(
enable
=
"avx2"
)]
//~^ ERROR `#[start]` function is not allowed to have `#[target_feature]`
fn
start
(
_argc
:
isize
,
_argv
:
*
const
*
const
u8
)
->
isize
{
0
}