dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.37k stars 4.75k forks source link

[NativeAOT] Refactor `System.Linq.Expressions` private feature switches #89171

Closed ivanpovazan closed 1 year ago

ivanpovazan commented 1 year ago

Based on the comments:

Private feature switches:

are not needed anymore as they got replaced by IsDynamicCodeSupported

Additionally:

should be set in RuntimeHostConfigurationOption by build integration targets, instead of explicitly passing the switch to ILC, so other tools (ILLink) can also understand the desired trimming configuration.

ghost commented 1 year ago

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.

Issue Details
null
Author: ivanpovazan
Assignees: -
Labels: `area-NativeAOT-coreclr`
Milestone: -