Skip to content

Commit 7481938

Browse files
authored
fix: anoncreds rust build failing, enable bulk-memory c flag on compilation (#307)
Signed-off-by: Francisco Javier Ribo Labrador <[email protected]>
1 parent e6d0008 commit 7481938

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Rust toolchain
3636
uses: actions-rs/toolchain@v1
3737
with:
38-
toolchain: stable
38+
toolchain: 1.82.0
3939
override: true
4040

4141
- name: Install wasm-pack

externals/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ buildAnonCreds() {
8989

9090
cd $AnonCredsDir/wasm
9191

92-
wasm-pack build --target=web --out-dir="${GenAnonCreds}-wasm"
92+
RUSTFLAGS='-C target-feature=+bulk-memory' wasm-pack build --target=web --out-dir="${GenAnonCreds}-wasm"
9393

9494
#TODO: find better way to approach this
9595
#This code fails on browser when wasm is first loaded, it can just be ignored

0 commit comments

Comments
 (0)