Skip to content

Commit

Permalink
[mono][wasi] Remove some obsolete #ifdef-ed code. (dotnet#95889)
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz authored Dec 12, 2023
1 parent e9ddf98 commit 8ec34f3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/mono/mono/metadata/appdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,12 +770,6 @@ ves_icall_System_Reflection_Assembly_InternalLoad (MonoStringHandle name_handle,
MonoAssembly *requesting_assembly = mono_runtime_get_caller_from_stack_mark (stack_mark);
MonoAssemblyLoadContext *alc = (MonoAssemblyLoadContext *)load_Context;

#if HOST_WASI
// On WASI, mono_assembly_get_alc isn't yet supported. However it should be possible to make it work.
if (!alc)
alc = mono_alc_get_default ();
#endif

if (!alc)
alc = mono_assembly_get_alc (requesting_assembly);
if (!alc)
Expand Down

0 comments on commit 8ec34f3

Please sign in to comment.