@@ -59,6 +59,16 @@ LL | w(Wrapper(g()));
59
59
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
60
60
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
61
61
62
+ 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
63
+ --> $DIR/simd-abi-checks.rs:100:9
64
+ |
65
+ LL | some_extern();
66
+ | ^^^^^^^^^^^^^ function called here
67
+ |
68
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
69
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
70
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
71
+
62
72
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
63
73
--> $DIR/simd-abi-checks.rs:27:1
64
74
|
@@ -99,11 +109,11 @@ LL | || g()
99
109
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
100
110
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
101
111
102
- warning: 10 warnings emitted
112
+ warning: 11 warnings emitted
103
113
104
114
Future incompatibility report: Future breakage diagnostic:
105
115
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
106
- --> $DIR/simd-abi-checks.rs:55 :11
116
+ --> $DIR/simd-abi-checks.rs:64 :11
107
117
|
108
118
LL | f(g());
109
119
| ^^^ function called here
@@ -115,7 +125,7 @@ LL | f(g());
115
125
116
126
Future breakage diagnostic:
117
127
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
118
- --> $DIR/simd-abi-checks.rs:55 :9
128
+ --> $DIR/simd-abi-checks.rs:64 :9
119
129
|
120
130
LL | f(g());
121
131
| ^^^^^^ function called here
@@ -127,7 +137,7 @@ LL | f(g());
127
137
128
138
Future breakage diagnostic:
129
139
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
130
- --> $DIR/simd-abi-checks.rs:63 :14
140
+ --> $DIR/simd-abi-checks.rs:72 :14
131
141
|
132
142
LL | gavx(favx());
133
143
| ^^^^^^ function called here
@@ -139,7 +149,7 @@ LL | gavx(favx());
139
149
140
150
Future breakage diagnostic:
141
151
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
142
- --> $DIR/simd-abi-checks.rs:63 :9
152
+ --> $DIR/simd-abi-checks.rs:72 :9
143
153
|
144
154
LL | gavx(favx());
145
155
| ^^^^^^^^^^^^ function called here
@@ -151,7 +161,7 @@ LL | gavx(favx());
151
161
152
162
Future breakage diagnostic:
153
163
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
154
- --> $DIR/simd-abi-checks.rs:75 :19
164
+ --> $DIR/simd-abi-checks.rs:84 :19
155
165
|
156
166
LL | w(Wrapper(g()));
157
167
| ^^^ function called here
@@ -163,7 +173,7 @@ LL | w(Wrapper(g()));
163
173
164
174
Future breakage diagnostic:
165
175
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
166
- --> $DIR/simd-abi-checks.rs:75 :9
176
+ --> $DIR/simd-abi-checks.rs:84 :9
167
177
|
168
178
LL | w(Wrapper(g()));
169
179
| ^^^^^^^^^^^^^^^ function called here
@@ -173,9 +183,21 @@ LL | w(Wrapper(g()));
173
183
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
174
184
= note: `#[warn(abi_unsupported_vector_types)]` on by default
175
185
186
+ Future breakage diagnostic:
187
+ 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
188
+ --> $DIR/simd-abi-checks.rs:100:9
189
+ |
190
+ LL | some_extern();
191
+ | ^^^^^^^^^^^^^ function called here
192
+ |
193
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
194
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
195
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
196
+ = note: `#[warn(abi_unsupported_vector_types)]` on by default
197
+
176
198
Future breakage diagnostic:
177
199
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
178
- --> $DIR/simd-abi-checks.rs:26 :1
200
+ --> $DIR/simd-abi-checks.rs:27 :1
179
201
|
180
202
LL | unsafe extern "C" fn g() -> __m256 {
181
203
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -187,7 +209,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
187
209
188
210
Future breakage diagnostic:
189
211
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
190
- --> $DIR/simd-abi-checks.rs:20 :1
212
+ --> $DIR/simd-abi-checks.rs:21 :1
191
213
|
192
214
LL | unsafe extern "C" fn f(_: __m256) {
193
215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -199,7 +221,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
199
221
200
222
Future breakage diagnostic:
201
223
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
202
- --> $DIR/simd-abi-checks.rs:14 :1
224
+ --> $DIR/simd-abi-checks.rs:15 :1
203
225
|
204
226
LL | unsafe extern "C" fn w(_: Wrapper) {
205
227
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -209,3 +231,15 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
209
231
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
210
232
= note: `#[warn(abi_unsupported_vector_types)]` on by default
211
233
234
+ Future breakage diagnostic:
235
+ 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
236
+ --> $DIR/simd-abi-checks.rs:57:8
237
+ |
238
+ LL | || g()
239
+ | ^^^ function called here
240
+ |
241
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
242
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
243
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
244
+ = note: `#[warn(abi_unsupported_vector_types)]` on by default
245
+
0 commit comments