dotnet / runtimelab

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
MIT License
1.42k stars 199 forks source link

[NativeAOT LLVM] Generate exports list for the linker on wasi-wasm #2385

Closed RReverser closed 11 months ago

RReverser commented 1 year ago

As per https://github.com/dotnet/runtimelab/issues/2235#issuecomment-1688298619, right now you need to pass explicit

<CustomLinkerArg Include="-Wl,--export,test:numbers/test!roundtrip-s8" />

to get symbols exported from Wasm on wasi-wasm target.

It needs a solution similar to https://github.com/dotnet/runtimelab/pull/2232 to automatically generate export list and pass it to the linker.

SingleAccretion commented 11 months ago

This is now fixed.

RReverser commented 11 months ago

Nice!