Skip to content

feat: mark the libraries as AOT compatible - #1604

Merged
vbreuss merged 1 commit into
TestableIO:mainfrom
StefanGreve:feat/aot-compatible-wrappers
Nov 22, 2026
Merged

vbreuss merged 1 commit into
TestableIO:mainfrom
StefanGreve:feat/aot-compatible-wrappers

Conversation

@StefanGreve

Copy link
Copy Markdown
Contributor

Sets IsAotCompatible for net8.0 and later in src/Directory.Build.props, with the condition from the Native AOT docs. The trim and AOT analyzers now run in this repository's build, and apps that set VerifyReferenceAotCompatibility no longer get IL3058 for these assemblies.

No source changes were needed. All targets build without IL2xxx or IL3xxx warnings, and a Native AOT app built against this branch publishes and runs. The API snapshots gain IsTrimmable from net8.0 and IsAotCompatible from net10.0. The one remaining IL3058, for Testably.Abstractions.FileSystem.Interface, will be addressed in Testably/Testably.Abstractions.

@mergify

mergify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@vbreuss
vbreuss force-pushed the feat/aot-compatible-wrappers branch from 60aa638 to d75b0f5 Compare November 22, 2026 08:44
@vbreuss
vbreuss merged commit 7f444c9 into TestableIO:main Nov 22, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants