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

[release/7.0-rc1] Add a way to suppress all trimming warnings #74220

Merged
merged 2 commits into from
Aug 20, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 19, 2022

Backport of #74137 to release/7.0-rc1

/cc @MichalStrehovsky

Customer Impact

SuppressTrimAnalysisWarnings MSBuild setting doesn't suppress trimming warnings.

This was a change made in the linker repo that landed too late in the runtime repo to do something about before the RC1 cutoff: dotnet/linker#2930.

Testing

We exercise trimming warning suppression within the repo. It was a build break when the IL Linker change landed. We no longer need the build break workaround. Also tested manually.

Risk

This affects warning infrastructure. I've manually validated warnings still show up when not suppressed E2E.

Fixes #73926.

Also adding AOT analysis suppression for parity.

I didn't port the warning level support because the compat kind of goes beyond that. We can revisit later if needed.
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. once we get a green ci we can merge.

@jeffschwMSFT jeffschwMSFT merged commit c7cab43 into release/7.0-rc1 Aug 20, 2022
@jkotas jkotas deleted the backport/pr-74137-to-release/7.0-rc1 branch August 20, 2022 15:22
@ghost ghost locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants