You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dotnet/runtime#82317 implemented marshalled delegate support for NativeAOT via generating thunk pages.
We need the -Wl,-segprot,__THUNKS,rx,rx linker flag to set the correct permissions on the segment.
Note: depending on how we'll integrate the NativeAOT targets into xamarin-macios this might be automatically handled, filing this just so we don't forget it if we don't use the NativeAOT targets.
The text was updated successfully, but these errors were encountered:
@akoeplinger I believe we don't need to do anything here, the logic to pass these linker flags was implemented in dotnet/runtime here: dotnet/runtime@75a32b8
dotnet/runtime#82317 implemented marshalled delegate support for NativeAOT via generating thunk pages.
We need the
-Wl,-segprot,__THUNKS,rx,rx
linker flag to set the correct permissions on the segment.Note: depending on how we'll integrate the NativeAOT targets into xamarin-macios this might be automatically handled, filing this just so we don't forget it if we don't use the NativeAOT targets.
The text was updated successfully, but these errors were encountered: