Skip to content

Commit

Permalink
chore: updated binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson committed Aug 9, 2023
1 parent 025da1e commit 1319107
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 3.6.0

- Updated binaries to v1.4.0
- Updated binaries to v1.4.1

## 3.5.7

Expand Down
Binary file modified android/src/main/jniLibs/arm64-v8a/librsa_bridge.so
Binary file not shown.
Binary file modified android/src/main/jniLibs/armeabi-v7a/librsa_bridge.so
Binary file not shown.
Binary file modified android/src/main/jniLibs/x86/librsa_bridge.so
Binary file not shown.
Binary file modified android/src/main/jniLibs/x86_64/librsa_bridge.so
Binary file not shown.
Binary file modified ios/librsa_bridge.a
Binary file not shown.
Binary file modified lib/web/assets/rsa.wasm
Binary file not shown.
11 changes: 9 additions & 2 deletions lib/web/assets/wasm_exec.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);
}

const setInt32 = (addr, v) => {
this.mem.setUint32(addr + 0, v, true);
}

const getInt64 = (addr) => {
const low = this.mem.getUint32(addr + 0, true);
const high = this.mem.getInt32(addr + 4, true);
Expand Down Expand Up @@ -206,7 +210,10 @@

const timeOrigin = Date.now() - performance.now();
this.importObject = {
go: {
_gotest: {
add: (a, b) => a + b,
},
gojs: {
// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
Expand Down Expand Up @@ -269,7 +276,7 @@
this._resume();
}
},
getInt64(sp + 8) + 1, // setTimeout has been seen to fire up to 1 millisecond early
getInt64(sp + 8),
));
this.mem.setInt32(sp + 16, id, true);
},
Expand Down
Binary file modified linux/shared/aarch64/librsa_bridge.so
Binary file not shown.
Binary file modified linux/shared/x86_64/librsa_bridge.so
Binary file not shown.
Binary file modified macos/librsa_bridge.dylib
Binary file not shown.
Binary file modified windows/shared/librsa_bridge.dll
Binary file not shown.

0 comments on commit 1319107

Please sign in to comment.