mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 21:51:32 +00:00
Cleanup tests
This commit is contained in:
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
// wasmer_import_object_t *import_object = wasmer_import_object_new();
|
|
||||||
|
|
||||||
// Read the wasm file bytes
|
// Read the wasm file bytes
|
||||||
FILE *file = fopen("sum.wasm", "r");
|
FILE *file = fopen("sum.wasm", "r");
|
||||||
fseek(file, 0, SEEK_END);
|
fseek(file, 0, SEEK_END);
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|
||||||
// Read the wasm file bytes
|
// Read the wasm file bytes
|
||||||
FILE *file = fopen("sum.wasm", "r");
|
FILE *file = fopen("sum.wasm", "r");
|
||||||
fseek(file, 0, SEEK_END);
|
fseek(file, 0, SEEK_END);
|
||||||
|
@ -19,8 +19,6 @@ int main()
|
|||||||
printf("Compile result: %d\n", compile_result);
|
printf("Compile result: %d\n", compile_result);
|
||||||
assert(compile_result == WASMER_OK);
|
assert(compile_result == WASMER_OK);
|
||||||
|
|
||||||
// TODO add module exports
|
|
||||||
|
|
||||||
printf("Destroy module\n");
|
printf("Destroy module\n");
|
||||||
wasmer_module_destroy(module);
|
wasmer_module_destroy(module);
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user