@@ -192,6 +192,7 @@ struct WasmFeatures {
192
192
simd : bool ,
193
193
tail_call : bool ,
194
194
threads : bool ,
195
+ shared_everything_threads : bool ,
195
196
multi_memory : bool ,
196
197
exceptions : bool ,
197
198
legacy_exceptions : bool ,
@@ -219,6 +220,7 @@ impl Metadata<'_> {
219
220
component_model,
220
221
simd,
221
222
threads,
223
+ shared_everything_threads,
222
224
tail_call,
223
225
multi_memory,
224
226
exceptions,
@@ -229,7 +231,6 @@ impl Metadata<'_> {
229
231
function_references,
230
232
gc,
231
233
custom_page_sizes,
232
- shared_everything_threads,
233
234
cm_async,
234
235
cm_async_builtins,
235
236
cm_async_stackful,
@@ -253,7 +254,6 @@ impl Metadata<'_> {
253
254
assert ! ( !memory_control) ;
254
255
assert ! ( !cm_nested_names) ;
255
256
assert ! ( !cm_values) ;
256
- assert ! ( !shared_everything_threads) ;
257
257
258
258
Metadata {
259
259
target : engine. compiler ( ) . triple ( ) . to_string ( ) ,
@@ -267,6 +267,7 @@ impl Metadata<'_> {
267
267
component_model,
268
268
simd,
269
269
threads,
270
+ shared_everything_threads,
270
271
tail_call,
271
272
multi_memory,
272
273
exceptions,
@@ -481,6 +482,7 @@ impl Metadata<'_> {
481
482
simd,
482
483
tail_call,
483
484
threads,
485
+ shared_everything_threads,
484
486
multi_memory,
485
487
exceptions,
486
488
legacy_exceptions,
@@ -540,6 +542,11 @@ impl Metadata<'_> {
540
542
other. contains ( F :: THREADS ) ,
541
543
"WebAssembly threads support" ,
542
544
) ?;
545
+ Self :: check_bool (
546
+ shared_everything_threads,
547
+ other. contains ( F :: SHARED_EVERYTHING_THREADS ) ,
548
+ "WebAssembly shared-everything-threads support" ,
549
+ ) ?;
543
550
Self :: check_bool (
544
551
multi_memory,
545
552
other. contains ( F :: MULTI_MEMORY ) ,
0 commit comments