fix(macOS): Enable the linker/trimmer for net6.0-macos #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): #
None specific but it was mentioned in unoplatform/uno#8890 (comment)
PR Type
What is the current behavior?
The Dope's Xamarin.Mac legacy project already has this setting enabled.
However the
net6.0-macos
project does not set it.In order to compare apples-to-apples it's best to share the same
settings between Xamarin.Mac legacy and net6.0-macos.
What is the new behavior?
Both projects have the linker/trimmer enabled in release mode.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Enabling the linker/trimmer does more than just removing unused code.
It also optimize the bindings, removing code paths that are not used
inside the app, e.g. removing 32bits code paths on 64bits builds.
It's a good, performance enhancing, setting for release builds so it
make sense to have it set inside samples - leading by example :)