Closed adv-sw closed 4 years ago
Tried loading another file into hello.c & it failed because text read mode open instead of binary.
Sample code hello.c currently reads :
FILE* file = fopen("hello.wasm", "r");
Should read :
FILE* file = fopen("hello.wasm", "rb");
Tried loading another file into hello.c & it failed because text read mode open instead of binary.
Sample code hello.c currently reads :
FILE* file = fopen("hello.wasm", "r");
Should read :
FILE* file = fopen("hello.wasm", "rb");