Skip to content

P/Invokes backed by transient IL#126509

Merged
jkoritzinsky merged 21 commits into
dotnet:mainfrom
jkoritzinsky:pinvoke-no-stub
Apr 21, 2026
Merged

P/Invokes backed by transient IL#126509
jkoritzinsky merged 21 commits into
dotnet:mainfrom
jkoritzinsky:pinvoke-no-stub

Merge branch 'pinvoke-no-stub' of https://github.com/jkoritzinsky/run…

bbb9e6a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime (Build browser-wasm windows checked CoreCLR_ReleaseLibraries) failed Apr 20, 2026 in 39m 0s

Build browser-wasm windows checked CoreCLR_ReleaseLibraries failed

Annotations

Check failure on line 415 in src\mono\browser\build\BrowserWasmApp.CoreCLR.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm windows checked CoreCLR_ReleaseLibraries)

src\mono\browser\build\BrowserWasmApp.CoreCLR.targets#L415

src\mono\browser\build\BrowserWasmApp.CoreCLR.targets(415,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Failed to compile D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp -> D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.o
D:\a\_work\1\s\src\mono\sample\wasm\browser-logprofile>C:\Windows\System32\chcp.com 65001 1>nul 
D:\a\_work\1\s\src\mono\sample\wasm\browser-logprofile>setlocal
D:\a\_work\1\s\src\mono\sample\wasm\browser-logprofile>set errorlevel=dummy 
D:\a\_work\1\s\src\mono\sample\wasm\browser-logprofile>set errorlevel= 
D:\a\_work\1\s\src\mono\sample\wasm\browser-logprofile>"D:\a\_work\1\s\src\mono\browser\emsdk\emscripten\emcc" "@D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\emcc-compile.rsp" -c -o "C:\Users\cloudtest\AppData\Local\Temp\tmpgydwzn.tmp" "D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp" 
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:22:5: error: unknown type name 'NOINLINE'
   22 |     NOINLINE static void CallFunc_F64_F64_F64_RetF64_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:24:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   24 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:29:5: error: unknown type name 'NOINLINE'
   29 |     NOINLINE static void CallFunc_F64_F64_RetF64_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:31:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   31 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:36:5: error: unknown type name 'NOINLINE'
   36 |     NOINLINE static void CallFunc_F64_I32_RetF64_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:38:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   38 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:43:5: error: unknown type name 'NOINLINE'
   43 |     NOINLINE static void CallFunc_F64_RetF64_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:45:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   45 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:56:5: error: unknown type name 'NOINLINE'
   56 |     NOINLINE static void CallFunc_F32_F32_F32_RetF32_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:58:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   58 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:63:5: error: unknown type name 'NOINLINE'
   63 |     NOINLINE static void CallFunc_F32_F32_RetF32_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:65:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   65 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:70:5: error: unknown type name 'NOINLINE'
   70 |     NOINLINE static void CallFunc_F32_I32_RetF32_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:72:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   72 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:77:5: error: unknown type name 'NOINLINE'
   77 |     NOINLINE static void CallFunc_F32_RetF32_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:79:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
   79 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:138:5: error: unknown type name 'NOINLINE'
  138 |     NOINLINE static void CallFunc_I32_I32_I32_I32_I32_I32_RetI32_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:140:40: error: use of undeclared identifier 'TERMINATE_R2R_STACK_WALK'
  140 |         alignas(16) int framePointer = TERMINATE_R2R_STACK_WALK;
      |                                        ^
D:\a\_work\1\s\artifacts\obj\mono\Wasm.BrowserLogProfile.Sample\browser.wasm.Release\wasm\for-build\wasm_m2n_invoke.g.cpp:145:5: error: unknown type name 'NOINLINE'
  145 |     NOINLINE static void CallFunc_I32_I32_I32_I32_I32_RetI32_PE(PCODE pcode, int8_t* pArgs, int8_t* pRet, PCODE pPortableEntryPointContext)
      |     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated. [took 0.46s]