Skip to content

Commit

Permalink
Implement basic features.
Browse files Browse the repository at this point in the history
  • Loading branch information
okaxaki committed May 5, 2023
1 parent ea6fcf9 commit 3a4b059
Show file tree
Hide file tree
Showing 13 changed files with 372 additions and 3,051 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ set(linker_flag_list
# -sSAFE_HEAP=1
-sSINGLE_FILE=1
-sFILESYSTEM=1
-sEXPORT_ES6=1
# -sRESERVED_FUNCTION_POINTERS=16
-sMODULARIZE=1
-sEXPORT_NAME=moduleFactory
Expand Down
3 changes: 3 additions & 0 deletions bin/cmd.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { main } from "../dist/cmd.js";

main();
100 changes: 0 additions & 100 deletions example/index.mjs

This file was deleted.

141 changes: 0 additions & 141 deletions example/package-lock.json

This file was deleted.

15 changes: 0 additions & 15 deletions example/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion lib/mucom88.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare const moduleFactory: EmscriptenModuleFactory;
export = moduleFactory;
export default moduleFactory;
Loading

0 comments on commit 3a4b059

Please sign in to comment.