Skip to content

Conversation

@pavelsavara
Copy link
Member

Goal is to make assemblies for browser smaller by automatically trimming code that was kept alive by the unsupported methods.

  • when method is marked with body="pnse" in ILLink.Substitutions.xml
  • or when ILLink command line argument is passed --target-os browser and the method is marked with [UnsupportedOSPlatform ("browser")] attribute
  • enable for browser

@pavelsavara pavelsavara added this to the 11.0.0 milestone Jan 18, 2026
@pavelsavara pavelsavara self-assigned this Jan 18, 2026
@pavelsavara pavelsavara added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Jan 18, 2026
@dotnet-policy-service dotnet-policy-service bot added the linkable-framework Issues associated with delivering a linker friendly framework label Jan 18, 2026
@pavelsavara pavelsavara added the size-reduction Issues impacting final app size primary for size sensitive workloads label Jan 18, 2026
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to 'size-reduction': @eerhardt, @SamMonoRT, @marek-safar
See info in area-owners.md if you want to be subscribed.

@pavelsavara pavelsavara changed the title [ILLink] throw PNSE [ILLink] stub -> throw PNSE Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework size-reduction Issues impacting final app size primary for size sensitive workloads

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant