Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
src
/
tools
/
miri
/
tests
/
pass
/
function_calls
/
target_feature.rs
blob: 0be86ba373165573152a28cd538b68ba9546c0a8 [
file
] [
log
] [
blame
]
//@only-target-x86_64: uses x86 target features
//@compile-flags: -C target-feature=+ssse3
fn
main
()
{
assert
!(
is_x86_feature_detected
!(
"ssse3"
));
unsafe
{
ssse3_fn
();
}
}
#[
target_feature
(
enable
=
"ssse3"
)]
unsafe
fn
ssse3_fn
()
{}