mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
295cffc4b4
See #131800 for the data collection behind this change. Also adds a test that exercise the "empty list of features" path.
94 lines
5.6 KiB
Plaintext
94 lines
5.6 KiB
Plaintext
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
|
|
--> $DIR/simd-abi-checks.rs:55:11
|
|
|
|
|
LL | f(g());
|
|
| ^^^ function called here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
= note: `#[warn(abi_unsupported_vector_types)]` on by default
|
|
|
|
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
|
|
--> $DIR/simd-abi-checks.rs:55:9
|
|
|
|
|
LL | f(g());
|
|
| ^^^^^^ function called here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
|
|
--> $DIR/simd-abi-checks.rs:63:14
|
|
|
|
|
LL | gavx(favx());
|
|
| ^^^^^^ function called here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
|
|
--> $DIR/simd-abi-checks.rs:63:9
|
|
|
|
|
LL | gavx(favx());
|
|
| ^^^^^^^^^^^^ function called here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
|
|
--> $DIR/simd-abi-checks.rs:75:19
|
|
|
|
|
LL | w(Wrapper(g()));
|
|
| ^^^ function called here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
|
|
--> $DIR/simd-abi-checks.rs:75:9
|
|
|
|
|
LL | w(Wrapper(g()));
|
|
| ^^^^^^^^^^^^^^^ function called here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
|
|
--> $DIR/simd-abi-checks.rs:26:1
|
|
|
|
|
LL | unsafe extern "C" fn g() -> __m256 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
|
|
--> $DIR/simd-abi-checks.rs:20:1
|
|
|
|
|
LL | unsafe extern "C" fn f(_: __m256) {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
|
|
--> $DIR/simd-abi-checks.rs:14:1
|
|
|
|
|
LL | unsafe extern "C" fn w(_: Wrapper) {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
|
|
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
|
|
|
|
warning: 9 warnings emitted
|
|
|