commit 7c3fc9d793e2bc5c224e40bff75ccfc8893b1ed8
parent e20c885fe9a7eede24155a3401e28b3e35aa95f9
Author: finwo <finwo@pm.me>
Date: Thu, 23 May 2024 21:46:32 +0200
Remove debug logs
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/index.ts b/src/index.ts
@@ -1,5 +1,4 @@
import { binary } from './supercop.wasm';
-import { readFileSync } from 'fs';
const Module = (async () => {
const memory = new WebAssembly.Memory({initial: 4});
@@ -9,8 +8,6 @@ const Module = (async () => {
imports.env.__heap_base = new WebAssembly.Global({value: 'i32', mutable: true});
}
- console.log({ bufferSource: binary });
- console.log(readFileSync('./supercop.wasm.ts').toString('utf-8'));
const program = await WebAssembly.instantiate(binary, imports);
return {