Skip to content
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

Annotate System.Private.Reflection.Core #555

Merged

Conversation

MichalStrehovsky
Copy link
Member

@MichalStrehovsky MichalStrehovsky commented Jan 13, 2021

I've analyzed all of nativeaot SDK libraries for trimming. Except for things that are already known in dotnet/runtime, we don't have warnings anymore after this.

(For future reference - to analyze trim safety of a library, one just need to compile the library in the --multifile mode and enable --scanreflection. This makes sure all code in the library is looked at.)

Contributes to (or fixes?) #396.

I've analyzed all of nativeaot SDK libraries for trimming. Except for things that are already known in dotnet/runtime, we don't have warnings anymore after this.

(For future reference - to analyze trim safety of a library, one just need to compile the library in the `--multifile` mode and enable `--scanreflection`. This makes sure all code in the library is looked at.)
@MichalStrehovsky MichalStrehovsky added the area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation label Jan 13, 2021
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@MichalStrehovsky
Copy link
Member Author

Timed out in BasicThreading on Linux/release.

@MichalStrehovsky MichalStrehovsky merged commit 129e751 into dotnet:feature/NativeAOT Jan 13, 2021
@MichalStrehovsky MichalStrehovsky deleted the trimAnnotate branch January 13, 2021 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants