-
Notifications
You must be signed in to change notification settings - Fork 1k
Add .NET 10 support via NativeAOT-LLVM along side .NET 8 support #4915
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 all commits
Commits
Show all changes
148 commits
Select commit
Hold shift + click to select a range
89586a2
Add the functionality to use NativeAOT-LLVM to build a P1 .wasm (core…
JasonAtClockwork 891a4b4
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 2351acb
Add support for .NET 8 JIT, .NET AOT and .NET 10 AOT in the same NuGe…
rekhoff 3abc343
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 62f1354
Resolved 3 CI failures
rekhoff c3041ac
Update C# module smoketests for .NET 10, cli ref docs, and Unity Meta…
rekhoff 98216f9
Update lint
rekhoff fcfbef2
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 1fe6d8b
Adding additional `dotnet-experimental` package sources
rekhoff 8008c6e
Group package by source and install WASI SDK on Linux
rekhoff e3e1d78
Target Linux WASI SDK
rekhoff b0d1fc6
Added specific `dotnet-experimental` check for quickstart, and `WASI …
rekhoff 171767f
Update lint
rekhoff 551b656
Fix NativeAOT-LLVM CI build and add --dotnet-version flag
rekhoff 15266d0
Update lint
rekhoff eb613c2
Added check if `WASI SDK` already installed, and changed target to ve…
rekhoff 5e5ed90
Updated target framework to also check for `net10.0`
rekhoff 73fceb0
Update `csharp_module` to use .NET 8 JIT path
rekhoff 024bf61
Add `--from-previous-sdk` to `dotnet workload update`
rekhoff c2ac428
Adding additional `wasi-experimental` install locations
rekhoff 0a9dd20
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff a1fd123
Write `global.json` files for .NET 8 workloads, to ensure `wasi-exper…
rekhoff 633861a
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff aaf16d6
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff dba4176
Adds additional checks on when to use NativeAOT to the Runtime.props
rekhoff 157499d
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 1304ac9
Adds a step to install native WASI SDK toolchain to the `csharp-tests…
rekhoff d645103
Adds a crash protection when `global.json` appears missing
rekhoff 1fc33cf
Fixed logic error in crash protection when `global.json` appears missing
rekhoff 044d516
Fix global.json symlinks for regression tests
rekhoff 6655bff
Use absolute path to the repo root in GitHub Actions
rekhoff 17ee828
Just creating the `global.json` if missing
rekhoff 9273f4f
Restores the original global.json symlinks after regression test
rekhoff c320f48
Running `spacetimedb-sdk` test with `--test-threads=1` to avoid SIGKI…
rekhoff 61d57eb
Reverting `spacetimedb-sdk` tests back to `--test-threads=2`
rekhoff 2f268e8
Updates made to documentation
rekhoff 3b5fb03
Setting CI test to use `ubuntu-latest` rather than `spacetimedb-new-r…
rekhoff 1247efa
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 15ae5e8
Update Wasi SDK version back to 29
rekhoff 764abb6
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 9902837
Move back to custom runner
jdetter 8d9f5e3
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff ee9ddce
Remove `run_dlls` function from `main.rs`
rekhoff adf35e5
Update lint
rekhoff ee130e4
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 576db3e
Fixed some dotnet version ordering logic
rekhoff a5a0d58
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff b0ce8d3
Resolve conflict with .NET 8 GC removing a needed .NET 10 workload
rekhoff b023178
Explicitly adding `EXPERIMENTAL_WASM_AOT` to .NET restore
rekhoff 2f612bd
Adding a cache clearing step for AOT paths to prevent fallback to .NE…
rekhoff 503f790
Moved `EXPERIMENTAL_WASM_AOT` set to start of `csharp-testsuite` job
rekhoff 283ce83
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 01f4b74
Support Net8 JIT "bindings" ABI and fix CLI native_aot env isolation
rekhoff e3999d9
Update lint
rekhoff 2d06a3d
Moved `EXPERIMENTAL_WASM_AOT` to Override NuGet packages step
rekhoff 25ceaee
Only delete `project.assets.json` for `Net8Aot`
rekhoff 95f0f67
Add diagnostic for `bin_dir_name`
rekhoff b92a91c
Update lint
rekhoff 202f125
Additional diagnostics
rekhoff e0961df
Fix `IL1034` entry point error and schema extraction hang
rekhoff 8bb32ef
Update C# regression test targets to .NET 10
rekhoff 2e3df4b
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 5bb5829
Revert bindings namespace and fix NativeAOT-LLVM builds
rekhoff 64337ca
Add `--dotnet-version 8` to `test_quickstart_csharp` test
rekhoff 27c7912
Suppress the hardcoded wasi-sdk version check in WasiApp.targets
rekhoff d7753be
Move `WasmSingleFileBundle` to the non-AOT path of Runtime.props
rekhoff 92d2daa
Suppress the Mono/WasiApp.targets pipeline for AOT
rekhoff 2fee8d8
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff fcf09c5
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 3221c3b
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff be0975d
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 5745f96
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff a680920
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff ea42791
Corrected merge conflict issue
rekhoff eafe0e1
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 7f730ad
Merge branch 'master' into rekhoff/nativeaot-net10
rekhoff 4b203d1
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct 199f167
Merge branch 'master' into rekhoff/nativeaot-net10
jdetter fd119d2
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct 7523e2e
Minor cleanup
lisandroct 5f10d9e
Fix compilation error due to uint [CallerLineNumber]
lisandroct e980a41
Fix TaggedEnumInlineTuple verify error
lisandroct dc1e2b2
Update to Roslyn 5.0.0 and add net10.0 target to test projects
lisandroct 6ad1c62
Fix Lint
lisandroct feddae6
Add net10.0 target to chat-console-cs
lisandroct 4c569c2
Add net10.0 target to basic-cs template
lisandroct 27677e7
Add global.json files back but targeting .NET 10
lisandroct d7da8d6
Target .NET 10 on Smoketests
lisandroct 3f27385
Force publishing Smoketest targeting .NET 10
lisandroct bce67fd
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct 7146438
Potential fix for smoketests
lisandroct ccfc214
Change Microsoft.CodeAnalysis.CSharp version back to 4.3.1
lisandroct 629cf84
Make templates target .NET 10 only
lisandroct 1654e6f
Fix <TargetFrameworks> to <TargetFramework> in templates
lisandroct 4321ae8
Clean Runtime.csproj
lisandroct ce0386d
Keep ;$(RestoreAdditionalProjectSources)
lisandroct 05b8632
Restore RestoreAdditionalProjectSources
lisandroct 6c48f76
Force define EXPERIMENTAL_WASM_AOT in .NET 10
lisandroct a90fe1e
Fix NativeAOT-LLVM packages resolution
lisandroct 1d25e18
Clean up some .csproj
lisandroct 057383a
Start assuming .NET 10 is the default
lisandroct 7bbdd0f
Fix Lint
lisandroct cda92ff
Update last bits to net10.0
lisandroct f80988b
Add purely style warnings to WarningsNotAsErrors for Test Suite to pass
lisandroct 0276a71
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct 1fdbf7d
Keep Roslyn 4.10.0 for .NET 8
lisandroct 9a945ba
Upgrade CodeAnalysis 4.10.0 to 4.14.0 to remove known vulnerability
lisandroct a574650
Remove unnecessary packages from Codegen.Tests
lisandroct 75b6762
Remove known vulnerability
lisandroct 6ce4d86
Test against both .NET 8 and .NET 10
lisandroct efc9d82
Fix Lint error
lisandroct 0a14ba8
Fix csharp-testsuite
lisandroct 7e83c6f
Fix init smoketest for different .NET targets
lisandroct f0f697e
Codex suggestion to fix Smoketests (Windows)
lisandroct 3a1bc70
Fix Typescript Tests
lisandroct 6025ec2
Compile fake dotnet to list sdks and test default sdk selection
lisandroct e8d77ef
Replace nuget.config always in the init template tests
lisandroct 71a1f82
Add --dotnet-version to generate documentation
lisandroct 5d8fde3
Add warning when init defaults to .net 8
lisandroct 05a3a32
Default to .NET 8 on Mac OS
lisandroct b72f00f
Add --dotnet-version to spacetime dev
lisandroct 9dd05e0
Use the correct WASI SDK for .NET 8 and .NET 10
lisandroct 9589ade
Revert TypeScript commit
lisandroct 76659c1
Update docs to default to .NET 10
lisandroct c66b775
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct da865e3
Clean .csproj from template
lisandroct b81a850
Fix .NET 8 JIT failing when WASI SDK is missing
lisandroct e7a16f8
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct 88f79d8
Merge branch 'master' into rekhoff/nativeaot-net10
bfops fb4cafa
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct 67f6454
Add --dotnet-version 8 to dev command in csharp quickstart for .NET 8
lisandroct fcd2c68
Add protections against targeting sdks other than 8 or 10
lisandroct 9eb889f
Fix lint
lisandroct 0e6bf0b
Merge branch 'master' into rekhoff/nativeaot-net10
bfops 3e6db68
Skip installation of wasi-experimental for .NET 10
lisandroct 26a52d2
Remove manual WASI SDK installation in CI
lisandroct 2ff6657
Remove unnecessary debug print in csharp.rs
lisandroct 08743bd
Add value_parser(parse_dotnet_version) to --dotnet-version
lisandroct 3d30af2
Remove resolve_dotnet_major and simplify init.rs
lisandroct c5391b4
Make --dotnet-version consistent with how --native-aot works
lisandroct a604e85
Remove subcommands dotnet.rs
lisandroct aa42086
Remove global.json exemption for templates
lisandroct 036c12b
Only check global.json policy for tracked files
lisandroct 66abedb
Throw error if build dotnet target doesn't match project's version
lisandroct 63be7ba
Remove EXPERIMENTAL_WASM_AOT: 1 in csharp-testsuite
lisandroct a94635f
Re-add comment removed by accident
lisandroct 63c3df1
Remove "Fix global.json symlinks" step
lisandroct 3cee796
Merge branch 'master' into rekhoff/nativeaot-net10
lisandroct 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
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
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
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
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
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
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
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
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
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
4 changes: 2 additions & 2 deletions
4
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#FFI.verified.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/bindings-csharp/Codegen.Tests/fixtures/explicitnames/explicitnames.csproj
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
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
2 changes: 1 addition & 1 deletion
2
crates/bindings-csharp/Codegen.Tests/fixtures/server/server.csproj
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.