We will need to come up with a linker solution for the new API proposed here: https://github.com/dotnet/runtime/issues/29723.