Browse Source

round 7

pull/123/head
notgiven688 2 years ago
parent
commit
7eefcf6955
3 changed files with 2 additions and 3 deletions
  1. +0
    -1
      SDK/miner_raw/miner/miner.js
  2. +1
    -1
      hash_cn/webassembly/Makefile
  3. +1
    -1
      hash_cn/webassembly/simple_profile.html

+ 0
- 1
SDK/miner_raw/miner/miner.js View File

@ -241,7 +241,6 @@ function informWorker(wrk) {
}
function on_servermsg(e) {
console.log(e.data);
var obj = JSON.parse(e.data);
receiveStack.push(obj);

+ 1
- 1
hash_cn/webassembly/Makefile View File

@ -1,7 +1,7 @@
TARGET = prog
LIBS = -lm
CC = emcc -O3 -s SINGLE_FILE=1 -s NO_FILESYSTEM=1 -s 'EXTRA_EXPORTED_RUNTIME_METHODS=["ccall", "cwrap"]' --llvm-lto 1 -s TOTAL_MEMORY=67108864 -s WASM=1 -s "BINARYEN_TRAP_MODE='allow'" -s EXPORTED_FUNCTIONS="['_hash_cn']" --shell-file html_template/shell_minimal.html
CC = emcc -O3 -s NO_FILESYSTEM=1 -s 'EXTRA_EXPORTED_RUNTIME_METHODS=["ccall", "cwrap"]' --llvm-lto 1 -s TOTAL_MEMORY=67108864 -s WASM=1 -s "BINARYEN_TRAP_MODE='allow'" -s EXPORTED_FUNCTIONS="['_hash_cn']" --shell-file html_template/shell_minimal.html
CFLAGS = -Wall
# -s ASSERTIONS=1

+ 1
- 1
hash_cn/webassembly/simple_profile.html View File

@ -9,7 +9,7 @@
<script src="cn.js"></script>
<button onclick="profile()">Click me</button>
<button onclick="checkvariants()">Click me</button>
<script>

Loading…
Cancel
Save