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.38k stars 192 forks source link

[NativeAOT-LLVM] Turn on TargetSupportsWritingFieldData for Wasm #2477

Closed yowl closed 6 months ago

yowl commented 7 months ago

There is an error when turning on TargetSupportsWritingFieldData for Wasm, we should investigate what it is because it would be nice to take advantage of the PreInit code in Ilc.

See https://github.com/dotnet/runtimelab/pull/2473/files/a910fc31dbf068ab26b9645cb153dfbf98cf4320..7f0d1e96556ca65c82f324d984a461dcd920a6f0#r1440477152

And reenable the test TestTypeHandles.Run(); (https://github.com/dotnet/runtimelab/pull/2473/files/a910fc31dbf068ab26b9645cb153dfbf98cf4320..7f0d1e96556ca65c82f324d984a461dcd920a6f0#r1440492528)