Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

This is blocking dotnet/dotnet#1546. Looks like this got lost in all the WASM timeout noise in #117624.

We can either suppress or add to ref assembly, but ref assembly only has things ILLink custom steps depend on. So suppression it is.

I just regenerated it with /p:ApiCompatGenerateSuppressionFile=true so it shuffled two unrelated lines.

Cc @dotnet/illink

This is blocking dotnet/dotnet#1546. Looks like this got lost in all the WASM timeout noise in dotnet#117624.

We can either suppress or add to ref assembly, but ref assembly only has things ILLink custom steps depend on. So suppression it is.

I just regenerated it with `/p:ApiCompatGenerateSuppressionFile=true` so it shuffled two unrelated lines.
Copilot AI review requested due to automatic review settings July 21, 2025 05:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes ILLink reference assembly build breaks by adding necessary API compatibility suppressions. The changes prevent build failures that were blocking dependent PRs.

Key changes:

  • Added suppressions for GetEntryPointAssembly and SetEntryPointAssembly methods in AnnotationStore
  • Added suppressions for DisableGeneratedCodeHeuristics property getter and setter in LinkContext
  • Reorganized existing suppressions to maintain alphabetical ordering

@github-actions github-actions bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Jul 21, 2025
@dotnet-policy-service dotnet-policy-service bot added the linkable-framework Issues associated with delivering a linker friendly framework label Jul 21, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/illink
See info in area-owners.md if you want to be subscribed.

@MichalStrehovsky
Copy link
Member Author

/ba-g timeouts

@sbomer
Copy link
Member

sbomer commented Jul 21, 2025

Thanks @MichalStrehovsky!

@ericstj
Copy link
Member

ericstj commented Jul 21, 2025

Do you actually need/want a reference assembly for illink? If not you could disable that. It's silly to just baseline stuff if you don't actually need the reference assembly.

@sbomer
Copy link
Member

sbomer commented Jul 21, 2025

Yes, the ref assembly is used to expose the API surface that custom steps can use.

@jeffhandley
Copy link
Member

/backport to release/10.0-preview7

Submitting this for Preview 7 backport since every PR in the release branch will hit this otherwise.

@github-actions
Copy link
Contributor

Started backporting to release/10.0-preview7: https://github.com/dotnet/runtime/actions/runs/16435351174

@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants