Skip to content

Commit

Permalink
Get Runner Working
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Sep 25, 2022
1 parent f34ae1b commit c9a5f59
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BriskLinker
Binary file modified Resources/LinkTest/index.br.wasm
Binary file not shown.
Binary file modified Resources/LinkTest/print32.br.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Compiler/Codegen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ const generateCodeProgram = (rawProgram: string, program: ProgramNode): Uint8Arr
func = setBody(func, body);
// Add The Main Function
wasmModule = addFunction(wasmModule, func);
// wasmModule = setStart(wasmModule, '_start');
wasmModule = setStart(wasmModule, '_start');
// wasmModule = addExport(wasmModule, '_start', WasmExternalKind.function, '_start');
wasmModule = addExport(wasmModule, 'memory', WasmExternalKind.memory, 0);
const moduleFunctionOffset = addGlobal(
Expand Down

0 comments on commit c9a5f59

Please sign in to comment.