mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-25 08:02:54 +00:00
Enable full trimming
This commit is contained in:
@@ -2,5 +2,8 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<LangVersion>preview</LangVersion>
|
||||
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsTrimmable>
|
||||
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
||||
<UseArtifactsOutput>true</UseArtifactsOutput>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<TrimmerSingleWarn>false</TrimmerSingleWarn>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<TrimMode>partial</TrimMode>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-arm64'">
|
||||
@@ -180,4 +179,8 @@
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="..\..\assets\Locales\*.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<TrimmerRootDescriptor Include="TrimmerRoots.xml" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
5
src/Ryujinx/TrimmerRoots.xml
Normal file
5
src/Ryujinx/TrimmerRoots.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<linker>
|
||||
<assembly fullname="Ryujinx.HLE">
|
||||
<type fullname="Ryujinx.HLE.HOS.Services*" preserve="all"/>
|
||||
</assembly>
|
||||
</linker>
|
||||
Reference in New Issue
Block a user