[wasm] Cache the output of `mono-aot-cross --print-icall-table` (#90476)
authorAnkit Jain <radical@gmail.com>
Mon, 14 Aug 2023 15:50:26 +0000 (11:50 -0400)
committerGitHub <noreply@github.com>
Mon, 14 Aug 2023 15:50:26 +0000 (11:50 -0400)
commit04e1ed5a9e910f32dbe2cb2d97af1118eaea0fda
tree185903ab93301077eea1d6f59805ed3708488f5e
parent711447a43d607883e511da4627631cda1f9c9d5f
[wasm] Cache the output of `mono-aot-cross --print-icall-table` (#90476)

Currently, this is invoked to get the runtime icall table for native builds, even if it is not needed by ManagedtoNativeGenerator (for example when outputs are up-to-date). This will change only with the cross compiler, so it can be cached.

Suggested by @vargaz .

Fixes https://github.com/dotnet/runtime/issues/90366 .
src/mono/wasm/build/WasmApp.Native.targets