84 lines
3.1 KiB
Plaintext
84 lines
3.1 KiB
Plaintext
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:21:5
|
|
|
|
|
LL | sse2();
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:24:5
|
|
|
|
|
LL | avx_bmi2();
|
|
| ^^^^^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:27:5
|
|
|
|
|
LL | Quux.avx_bmi2();
|
|
| ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:34:5
|
|
|
|
|
LL | avx_bmi2();
|
|
| ^^^^^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:37:5
|
|
|
|
|
LL | Quux.avx_bmi2();
|
|
| ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:44:5
|
|
|
|
|
LL | sse2();
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:47:5
|
|
|
|
|
LL | avx_bmi2();
|
|
| ^^^^^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:50:5
|
|
|
|
|
LL | Quux.avx_bmi2();
|
|
| ^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:58:5
|
|
|
|
|
LL | sse2();
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error[E0133]: call to function with `#[target_feature]` is unsafe and requires unsafe function or block
|
|
--> $DIR/safe-calls.rs:63:18
|
|
|
|
|
LL | const name: () = sse2();
|
|
| ^^^^^^ call to function with `#[target_feature]`
|
|
|
|
|
= note: can only be called if the required target features are available
|
|
|
|
error: aborting due to 10 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0133`.
|