forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support feature settings on descriptor files (dotnet/linker#1277)
* Support feature settings on descriptor files Fixes dotnet/linker#1268. * Disable feature descriptors for mono Since they conflict with the --exclude-feature "feature" attributes in the descriptor XML. * Revert "Disable feature descriptors for mono" This reverts commit dotnet/linker@78c2f52. * Support featuredefault="true" To indicate that a substitution or descriptor should be applied in the absence of a feature setting. Note that this is restricted to still require the featurevalue attribute, to prevent the definition of default substitutions that are never applied for any feature settings. Also address PR feedback: - Move the feature checks into a separate class - #ifdef an implementation instead of callsites * Fix signatures in tests * Update data format docs * Fix whitespace * PR feedback Add comments about order of checking assemblyname and feature attributes, and make processing consistent in LinkAttributesStep. * Clarify featuredefault behavior in documentation Commit migrated from dotnet/linker@f87cfa2
- Loading branch information
Showing
24 changed files
with
426 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.