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:
Lorenzo
2022-11-02 15:22:38 +00:00
committed by morenol
parent 7f35dc54e4
commit c45bab491a
64 changed files with 583 additions and 150 deletions
+5 -2
View File
@@ -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