Make helwasm compilable for wasm32-unknown-unknown target.

This commit is contained in:
Oleksandr Kozachuk
2023-01-01 19:46:14 +01:00
parent 7563645518
commit 69f65a5be0
3 changed files with 79 additions and 4 deletions
+1 -1
View File
@@ -4,10 +4,10 @@ version = "0.1.0"
authors = ["ok2"]
edition = "2021"
[target.'cfg(wasm32)']
[lib]
name = "helwasm"
path = "src/lib.rs"
crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html