mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-16 17:18:57 +00:00
Fix initializer error on Linux for real this time
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
//#include "wasm.h"
|
||||
#include "wasmer_wasm.h"
|
||||
|
||||
#define own
|
||||
#define BUF_SIZE 128
|
||||
|
||||
// Use the last_error API to retrieve error messages
|
||||
void print_wasmer_error()
|
||||
@@ -127,7 +127,6 @@ int main(int argc, const char* argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
const int BUF_SIZE = 128;
|
||||
char buffer[BUF_SIZE] = { 0 };
|
||||
wasi_state_t* wasi_state_ref = wasi_env_borrow_state(wasi_env);
|
||||
wasi_file_handle_t* stdout_handle = wasi_state_get_stdout(wasi_state_ref);
|
||||
|
||||
Reference in New Issue
Block a user