Skip to content

Commit bcf1785

Browse files
lklimekshumkov
andauthored
feat: wasm sdk build proof-of-concept (#2405)
Co-authored-by: Ivan Shumkov <[email protected]>
1 parent 5e32426 commit bcf1785

File tree

61 files changed

+1888
-324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1888
-324
lines changed

.cargo/config-release.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ rustflags = ["-C", "target-feature=-crt-static", "-C", "target-cpu=x86-64-v3"]
1212

1313
[target.aarch64-unknown-linux-gnu]
1414
linker = "aarch64-linux-gnu-gcc"
15+
16+
[target.wasm32-unknown-unknown]
17+
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@ rustflags = [
2626
[target.aarch64-unknown-linux-gnu]
2727
linker = "aarch64-linux-gnu-gcc"
2828

29+
[target.wasm32-unknown-unknown]
30+
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']
31+
2932
[build]
3033
rustflags = ["--cfg", "tokio_unstable"]

0 commit comments

Comments
 (0)