Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions apps/example-client-app/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# hdk/hdi >= holochain 0.6.1 depend on getrandom 0.3, which refuses to compile
# for wasm32-unknown-unknown unless a backend is chosen. The hdk provides the
# "custom" backend implementation (__getrandom_v03_custom, backed by the
# conductor's random_bytes host function), so zome wasm builds must declare it.
# Same configuration that `hc-scaffold` generates for new hApps.
[target.wasm32-unknown-unknown]
rustflags = ['--cfg', 'getrandom_backend="custom"']
3 changes: 2 additions & 1 deletion apps/example-client-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
# build
/dist/
/target/
/.cargo/
/.cargo/*
!/.cargo/config.toml

# package manager
/**/node_modules/
Expand Down
Loading