Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasi] Remove unused string parameter from mono_wasm_load_runtime #104608

Merged
merged 8 commits into from
Oct 16, 2024
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 @@ -50,7 +50,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