Support Wasi as target (#216)
* Improve features * Add wasm32-wasi as a target * Update .github/workflows/ci.yml Co-authored-by: morenol <22335041+morenol@users.noreply.github.com>
This commit is contained in:
+5
-2
@@ -40,9 +40,12 @@ criterion = { version = "0.4", default-features = false }
|
||||
serde_json = "1.0"
|
||||
bincode = "1.3.1"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies]
|
||||
wasm-bindgen-test = "0.3"
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
|
||||
[profile.test]
|
||||
debug = 1
|
||||
opt-level = 3
|
||||
@@ -53,4 +56,4 @@ strip = true
|
||||
debug = 1
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
overflow-checks = true
|
||||
overflow-checks = true
|
||||
|
||||
Reference in New Issue
Block a user