Skip to content

Commit 9dfc586

Browse files
committed
Remove Cargo-level feature flags
As recommended in a review, we can probably use the `threads` feature flag instead for the same kind of conditional compilation.
1 parent 577c642 commit 9dfc586

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ coredump = ["wasmtime-cli-flags/coredump"]
493493
addr2line = ["wasmtime/addr2line"]
494494
debug-builtins = ["wasmtime/debug-builtins"]
495495
threads = ["wasmtime-cli-flags/threads"]
496-
shared-everything-threads = ["wasmtime-cli-flags/shared-everything-threads"]
497496
gc = ["wasmtime-cli-flags/gc", "wasmtime/gc"]
498497
gc-drc = ["gc", "wasmtime/gc-drc", "wasmtime-cli-flags/gc-drc"]
499498
gc-null = ["gc", "wasmtime/gc-null", "wasmtime-cli-flags/gc-null"]

crates/cli-flags/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,5 @@ gc = ["wasmtime/gc"]
3737
gc-drc = ["gc", "wasmtime/gc-drc"]
3838
gc-null = ["gc", "wasmtime/gc-null"]
3939
threads = ["wasmtime/threads"]
40-
shared-everything-threads = ["wasmtime/shared-everything-threads"]
4140
memory-protection-keys = ["wasmtime/memory-protection-keys"]
4241
pulley = ["wasmtime/pulley"]

crates/cranelift/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,3 @@ gc = ["wasmtime-environ/gc"]
4646
gc-drc = ["gc", "wasmtime-environ/gc-drc"]
4747
gc-null = ["gc", "wasmtime-environ/gc-null"]
4848
threads = ["wasmtime-environ/threads"]
49-
shared-everything-threads = ["wasmtime-environ/shared-everything-threads"]

crates/environ/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ compile = [
7070
"dep:wasmprinter",
7171
]
7272
threads = ['std']
73-
shared-everything-threads = ['std']
7473
wmemcheck = ['std']
7574
std = [
7675
'anyhow/std',

crates/wasmtime/Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +309,6 @@ threads = [
309309
"std",
310310
]
311311

312-
# Enable runtime support for the WebAssembly shared-everything-threads proposal.
313-
shared-everything-threads = [
314-
"wasmtime-cranelift?/shared-everything-threads",
315-
"std",
316-
]
317-
318312
# Controls whether backtraces will attempt to parse DWARF information in
319313
# WebAssembly modules and components to provide filenames and line numbers in
320314
# stack traces.

0 commit comments

Comments
 (0)