Repository navigation
Commit 16dc600
authored
feat: mark the libraries as AOT compatible (#1222)
Sets `IsAotCompatible` for `net8.0` and later in `Source/Directory.Build.props`, with the condition from the [Native AOT docs](https://learn.microsoft.com/dotnet/core/deploying/native-aot/#aot-compatibility-analyzers). The trim and AOT analyzers now run in this repository's build, and apps that set `VerifyReferenceAotCompatibility` no longer get [IL3058](https://learn.microsoft.com/dotnet/core/deploying/native-aot/warnings/il3058) for these assemblies.
No source changes were needed. All seven libraries build without IL2xxx or IL3xxx warnings, and Native AOT apps built against this branch with `RealFileSystem` and with `MockFileSystem` publish and run. The API snapshots gain `IsTrimmable` from `net8.0` and `IsAotCompatible` from `net10.0`, and the getting started page now mentions trimming and Native AOT.1 parent 7d25fa2 commit 16dc600
30 files changed
Lines changed: 44 additions & 1 deletion
File tree
- Docs/pages/docs
- Source
- Tests/Api
- Testably.Abstractions.Api.Tests/ApiApprovalTests
- Testably.Abstractions.AccessControl
- Testably.Abstractions.Compression
- Testably.Abstractions.MemoryMappedFiles
- Testably.Abstractions.Testing
- Testably.Abstractions
- Testably.Abstractions.Core.Api.Tests/ApiApprovalTests
- Testably.Abstractions.FileSystem.Interface
- Testably.Abstractions.Interface
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments