Skip to content

Commit 954919f

Browse files
committed
Better compression is used, recompiled with patched Emscripten to fix wasm loading from NPM module (upstream PR: emscripten-core/emscripten#5368)
1 parent dab75d1 commit 954919f

File tree

6 files changed

+121
-15
lines changed

6 files changed

+121
-15
lines changed

dist/supercop.wasm.browser.js

Lines changed: 60 additions & 7 deletions
Large diffs are not rendered by default.

dist/supercop.wasm.browser.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.ls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gulp
2222
)
2323
.task('wasm', (callback) !->
2424
files = glob.sync('vendor/src/*.c').join(' ')
25-
command = "emcc supercop.c #files -o supercop.js -O2 -s WASM=1"
25+
command = "emcc supercop.c #files -o supercop.js -O2 --closure 1 -s WASM=1"
2626
exec(command, (error, stdout, stderr) !->
2727
if stdout
2828
console.log(stdout)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"signature",
88
"webassembly"
99
],
10-
"version" : "3.0.0",
10+
"version" : "3.0.1",
1111
"homepage" : "https://github.com/nazar-pc/supercop.wasm",
1212
"author" : {
1313
"name" : "Nazar Mokrynskyi",

supercop.js

Lines changed: 57 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)