File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/coreclr/hosts/corerun/wasm Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2323 <NativeCMakeArg Include =" -cmakeargs " -DCMAKE_BUILD_LIBRARIES_CONFIGURATION=$(LibrariesConfiguration)" " />
2424 <NativeCMakeArg Include =" -cmakeargs " -DCMAKE_BUILD_RUNTIME_CONFIGURATION=$(RuntimeConfiguration)" " />
2525 <NativeCMakeArg Condition =" '$(TargetsBrowser)' == 'true' and '$(RuntimeFlavor)' == 'CoreCLR'" Include =" -cmakeargs " -DBUILD_LIBS_NATIVE_BROWSER=1" " />
26- <NativeCMakeArg Condition =" '$(TargetsBrowser)' == 'true'" Include =" -cmakeargs " -DBUILD_LIBS_NATIVE_BROWSER=1" " />
2726 </ItemGroup >
2827
2928 <Target Name =" GenerateEmccExports" Condition =" '$(TargetsBrowser)' == 'true'" >
Original file line number Diff line number Diff line change 77/* eslint-disable @typescript-eslint/no-unused-vars */
88var fetch = fetch || undefined ; var dotnetNativeModuleLoaded = false ; var dotnetInternals = null ;
99export function selfRun ( ) {
10+ const Module = { } ;
1011 const corePreRun = ( ) => {
1112 // copy all node/shell env variables to emscripten env
1213 if ( globalThis . process && globalThis . process . env ) {
@@ -17,11 +18,10 @@ export function selfRun() {
1718
1819 Module . ENV [ "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT" ] = "true" ;
1920 } ;
20- const Module = {
21- preRun : [ corePreRun ]
22- } ;
21+ Module . preRun = [ corePreRun ] ;
22+
2323 const runtimeApi = {
24- Module : Module ,
24+ Module,
2525 INTERNAL : { } ,
2626 runtimeId : 0 ,
2727 runtimeBuildInfo : {
You can’t perform that action at this time.
0 commit comments