1
1
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
2
- --> $DIR/simd-abi-checks.rs:55 :11
2
+ --> $DIR/simd-abi-checks.rs:64 :11
3
3
|
4
4
LL | f(g());
5
5
| ^^^ function called here
@@ -10,7 +10,7 @@ LL | f(g());
10
10
= note: `#[warn(abi_unsupported_vector_types)]` on by default
11
11
12
12
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
13
- --> $DIR/simd-abi-checks.rs:55 :9
13
+ --> $DIR/simd-abi-checks.rs:64 :9
14
14
|
15
15
LL | f(g());
16
16
| ^^^^^^ function called here
@@ -20,7 +20,7 @@ LL | f(g());
20
20
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
21
21
22
22
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
23
- --> $DIR/simd-abi-checks.rs:63 :14
23
+ --> $DIR/simd-abi-checks.rs:72 :14
24
24
|
25
25
LL | gavx(favx());
26
26
| ^^^^^^ function called here
@@ -30,7 +30,7 @@ LL | gavx(favx());
30
30
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
31
31
32
32
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
33
- --> $DIR/simd-abi-checks.rs:63 :9
33
+ --> $DIR/simd-abi-checks.rs:72 :9
34
34
|
35
35
LL | gavx(favx());
36
36
| ^^^^^^^^^^^^ function called here
@@ -40,7 +40,7 @@ LL | gavx(favx());
40
40
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
41
41
42
42
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
43
- --> $DIR/simd-abi-checks.rs:75 :19
43
+ --> $DIR/simd-abi-checks.rs:84 :19
44
44
|
45
45
LL | w(Wrapper(g()));
46
46
| ^^^ function called here
@@ -50,7 +50,7 @@ LL | w(Wrapper(g()));
50
50
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
51
51
52
52
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
53
- --> $DIR/simd-abi-checks.rs:75 :9
53
+ --> $DIR/simd-abi-checks.rs:84 :9
54
54
|
55
55
LL | w(Wrapper(g()));
56
56
| ^^^^^^^^^^^^^^^ function called here
@@ -60,7 +60,7 @@ LL | w(Wrapper(g()));
60
60
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
61
61
62
62
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
63
- --> $DIR/simd-abi-checks.rs:26 :1
63
+ --> $DIR/simd-abi-checks.rs:27 :1
64
64
|
65
65
LL | unsafe extern "C" fn g() -> __m256 {
66
66
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -70,7 +70,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
70
70
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
71
71
72
72
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
73
- --> $DIR/simd-abi-checks.rs:20 :1
73
+ --> $DIR/simd-abi-checks.rs:21 :1
74
74
|
75
75
LL | unsafe extern "C" fn f(_: __m256) {
76
76
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -80,7 +80,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
80
80
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
81
81
82
82
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
83
- --> $DIR/simd-abi-checks.rs:14 :1
83
+ --> $DIR/simd-abi-checks.rs:15 :1
84
84
|
85
85
LL | unsafe extern "C" fn w(_: Wrapper) {
86
86
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -89,7 +89,17 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
89
89
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
90
90
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
91
91
92
- warning: 9 warnings emitted
92
+ 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
93
+ --> $DIR/simd-abi-checks.rs:57:8
94
+ |
95
+ LL | || g()
96
+ | ^^^ function called here
97
+ |
98
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
99
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
100
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
101
+
102
+ warning: 10 warnings emitted
93
103
94
104
Future incompatibility report: Future breakage diagnostic:
95
105
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
0 commit comments