-
Notifications
You must be signed in to change notification settings - Fork 551
Add support for using NativeAOT. #17374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
d605221
Bump MonoTouch.Dialog and Touch.Unit.
rolfbjarne f964b5a
[runtime] Create a version of our runtime that can be used with Nativ…
rolfbjarne a766901
[dotnet] Choose the correct runtime library depending on which runtim…
rolfbjarne 7f15d86
[xharness] Add a NativeAOT variation of monotouch-test.
rolfbjarne d584840
[dotnet] Force the managed static registrar when using NativeAot.
rolfbjarne 607cc78
[dotnet] Use the correct package infix for NativeAOT
rolfbjarne ca6f2e4
[Foundation] Use the correct toggle ref implementation on !macOS sinc…
rolfbjarne 94c96ec
[dotnet] Don't run Mono's AOT compiler if we're using NativeAOT.
rolfbjarne a3b466b
[tools] Don't allow keeping the dynamic registrar when using NativeAOT.
rolfbjarne ab8f928
[tools] Don't call mono_jit_set_aot_mode from main when using NativeAOT
rolfbjarne 60e4936
[tools] Don't generate calls to mono_aot_register_module in main when…
rolfbjarne 9b24c5d
[runtime] NativeAOT does not support dynamic registration
rolfbjarne d5a53d6
[runtime] Add a native IsNativeAOT flag.
rolfbjarne b4a67c6
[src] Make the Runtime.IsNativeAOT property a constant in the linker.
rolfbjarne e0e4b77
[dotnet] Set AutoreleasePoolSupport earlier so that the linker doesn'…
rolfbjarne 901be39
[ObjCRuntime] Avoid using Assembly.Location for NativeAOT, use an alt…
rolfbjarne 3105214
[tests] Detect NativeAOT correctly in the Symbols test
rolfbjarne 5b8d60b
[tests] Adjust RegistrarTest to always expected the dynamic registrar…
rolfbjarne 890d3ca
[tests] Adjust asserts since some collection assert doesn't work with…
rolfbjarne 0db2c5c
[dotnet] Rework feature detection and notification a bit.
rolfbjarne 595bcdb
[dotnet] Don't call ComputeResolvedFilesToPublishList when using Nati…
rolfbjarne 13fa769
[dotnet] Disable our own IL stripping when using NativeAOT, because N…
rolfbjarne b36db05
[dotnet] Call ILC, the NativeAOT compiler, before we link the native …
rolfbjarne 00b2865
[dotnet] Adjust ILC's build dependencies to cope with the fact that I…
rolfbjarne 8cfee8b
[dotnet] Ask ILC to treat all P/Invokes to __Internal as direct P/Inv…
rolfbjarne 6bd8915
[dotnet] Rearrange items in item groups so that ILC gets the output f…
rolfbjarne 3977493
[dotnet] Ask ILC to process all unmanaged callers only methods from a…
rolfbjarne 79b7657
[dotnet] Ask ILC to only trim assemblies if trimming is explicitly en…
rolfbjarne c48d583
[dotnet] Link the output from ILC into the native executable
rolfbjarne 2ee5326
[dotnet] Collect all the native linker arguments ILC would have used …
rolfbjarne 617f64e
[dotnet] Enforce that the linker must be enabled for all assemblies w…
rolfbjarne d601e51
[dotnet] Set PublishAotUsingRuntimePack=true when using NativeAOT to …
rolfbjarne 183c76a
[dotnet] Use a different min OS version when building with NativeAOT.
rolfbjarne e3228d0
[dotnet] Turn off some publishing behavior we don't need
rolfbjarne a1d707c
[dotnet] Fix items in TrimmerRootAssembly to follow docs and what ILC…
rolfbjarne 0adbf77
[tests] Fix computing when the dynamic registrar is used.
rolfbjarne 7d65804
[dotnet/tests] Only use NativeAOT when publishing.
rolfbjarne 97b91f1
[dotnet] Remove libSystem.Net.Security.Native from tvOS builds when u…
rolfbjarne c49888b
[tests] Adjust ConfigTest to cope with different behavior when using …
rolfbjarne 264be70
[dotnet] Disable SelfContained for the outer build of a universal app…
rolfbjarne 8ac35ba
[tests] Disable the NUnitLite and Touch.Unit references for the .NET …
rolfbjarne e31b0a6
[xharness] Disable NativeAOT test variations for macOS for now, we're…
rolfbjarne 94cdec2
[xharness] Disable NativeAOT test variations for Mac Catalyst for now…
rolfbjarne 42d6121
[dotnet] Set a flag to avoid a bug with the NativeAOT compiler
rolfbjarne 3c912d7
[dotnet] Treat the ICU data file as a resource instead of an assembly.
rolfbjarne b4e3361
[dotnet] Tell ILC about any satellite assemblies.
rolfbjarne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[dotnet] Remove libSystem.Net.Security.Native from tvOS builds when u…
…sing NativeAOT.
- Loading branch information
commit 97b91f16002d5b0d7844793681a8ba5f129d85ba
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for the reference, this has been fixed via: dotnet/runtime#87605
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed to look at it after this PR is in: #18481