Skip to content

Commit fc79643

Browse files
committed
Remove force soft for no_std, works in release mode
1 parent a7bcb84 commit fc79643

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

crates/environ/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ wasmprinter = { workspace = true, optional = true }
3737
wasmtime-component-util = { workspace = true, optional = true }
3838
semver = { workspace = true, optional = true, features = ['serde'] }
3939
smallvec = { workspace = true, features = ['serde'] }
40-
# NB: LLVM unable to compile sha2 with 'asm' in 'no_std' as of Rustc/Cargo version 1.91.1.
41-
# Currently uses 'force-soft' in 'no_std', but remove if fixed.
42-
sha2 = { version = "0.10.2", default-features = false, features = ['force-soft'] }
40+
sha2 = { version = "0.10.2", default-features = false }
4341

4442
[dev-dependencies]
4543
clap = { workspace = true, features = ['default'] }

crates/rr/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ log = { workspace = true }
2424
cfg-if = { workspace = true }
2525

2626
[features]
27-
default = ["std"]
2827
std = ["postcard/use-std", "wasmtime-environ/std"]

crates/wasmtime/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ std = [
347347
"dep:rustix",
348348
"wasmtime-jit-icache-coherence",
349349
"wasmtime-jit-debug?/std",
350+
"wasmtime-rr?/std"
350351
]
351352

352353
# Enables support for the `Store::call_hook` API which enables injecting custom

0 commit comments

Comments
 (0)