Support Native AOT#619
Conversation
Test Results 15 files ± 0 15 suites ±0 13s ⏱️ -4s Results for commit 3466574. ± Comparison against base commit 5f8949b. This pull request removes 122 and adds 381 tests. Note that renamed tests count towards both.This pull request skips 7 tests.♻️ This comment has been updated with latest results. |
Add Read and Write collection helpers and start converting to them
… collections from context
…der-methods Native aot with ~options builder methods~ just the right attributes on the test contexts
|
|
||
| <PropertyGroup> | ||
| <TargetFramework>netstandard2.1</TargetFramework> | ||
| <TargetFrameworks>netstandard2.1;net8.0</TargetFrameworks> |
There was a problem hiding this comment.
I thought we were dropping netstandard with this change?
There was a problem hiding this comment.
No. Actually, because of PolySharp, I might even be able to move back to NS 2.0! I'll check that.
We dropped support for .Net Core 3.1 because of an incompatiblity in a dependency of STJ v8, but I still want to have .Net Standard for support outside of .Net 8.
There was a problem hiding this comment.
Looks like Logic can be pushed down to .Net Standard 2.0. All I needed was to add a deconstructor for KeyValuePair<,>.
But Path is using all sorts of new APIs, like a lot of what's defined on spans.
This PR adds support for Native AOT and source generation through implementing framework multitargeting.
Resolves #390
Resolves #532
Replaces #618
Relates to #611
This is the root PR. Since I have other people helping with this effort (thanks!), satellite PRs will be created to pull into this one.
To do:
AOT test app (section Publishing a test application for AOT)Native aot test app #626Sanity unit tests to ensure all keywords are captured (used to be built with reflection)Add AOT-specific stuff(in separate repo; doesn't need to be done for this PR)