Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[wasi] Remove unused string parameter from mono_wasm_load_runtime
  • Loading branch information
radekdoulik committed Jul 9, 2024
commit 4419f947b9d17a4cb033b02f75df4ffaa740080d
2 changes: 1 addition & 1 deletion src/mono/wasi/mono-include/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <mono/metadata/object.h>
#include <mono/metadata/loader.h>

void mono_wasm_load_runtime (const char *unused, int debug_level);
void mono_wasm_load_runtime (int debug_level);
int mono_wasm_add_assembly (const char *name, const unsigned char *data, unsigned int size);
MonoAssembly* mono_wasm_assembly_load(const char *name);
MonoMethod* mono_wasi_assembly_get_entry_point (MonoAssembly *assembly);
Expand Down
2 changes: 1 addition & 1 deletion src/mono/wasi/runtime/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ load_runtimeconfig (void)
}

void
mono_wasm_load_runtime (const char *unused, int debug_level)
mono_wasm_load_runtime (int debug_level)
{
const char *interp_opts = "";

Expand Down
2 changes: 1 addition & 1 deletion src/mono/wasi/runtime/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ int initialize_runtime()
#ifndef WASM_SINGLE_FILE
mono_set_assemblies_path("managed");
#endif
mono_wasm_load_runtime("", 0);
mono_wasm_load_runtime(0);

#ifdef WASI_AFTER_RUNTIME_LOADED_CALLS
// This is supplied from the MSBuild itemgroup @(WasiAfterRuntimeLoaded)
Expand Down