-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm] Fix trimming errors for library tests, to help building with AOT #50885
Changes from all commits
d108790
96766b4
e55e78a
d751418
ab05604
72eb51e
743f9fe
9160bcd
989d1e1
d3061e1
aa5a2d4
11c2901
c1cbd0e
7c9dca6
1d511cf
86b2aad
4547709
bebd9b9
85d48fc
19c01a0
ff4241f
ff0fab9
722d988
6560bc5
dbfa7ac
77781b1
e7043c5
e2cdeb0
066cb1e
875c07a
e8cb433
404ed1f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<linker> | ||
<assembly fullname="Castle.Core"> | ||
<namespace fullname="Castle.DynamicProxy" /> | ||
<type fullname="Castle.DynamicProxy.Internal.CompositionInvocation" /> | ||
<type fullname="Castle.DynamicProxy.Internal.AbstractInvocation" /> | ||
<type fullname="Castle.DynamicProxy.Internal.InheritanceInvocation" /> | ||
</assembly> | ||
<assembly fullname="Moq"> | ||
<type fullname="Moq.Internals.InterfaceProxy"> | ||
<method signature="System.Void .ctor()" /> | ||
</type> | ||
</assembly> | ||
</linker> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<linker> | ||
<assembly fullname="ModuleCore"> | ||
<type fullname="OLEDB.Test.ModuleCore.XmlInlineDataDiscoverer"> | ||
<method signature="System.Void .ctor()" /> | ||
</type> | ||
</assembly> | ||
</linker> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<linker> | ||
<assembly fullname="System.Private.DataContractSerialization"> | ||
<type fullname="System.Runtime.Serialization.KeyValue`2" /> | ||
<type fullname="System.Runtime.Serialization.DateTimeOffsetAdapter" /> | ||
<type fullname="System.Runtime.Serialization.KeyValuePairAdapter`2" /> | ||
</assembly> | ||
<assembly fullname="System.Private.Xml.Linq"> | ||
<type fullname="System.Xml.Linq.XElement" /> | ||
</assembly> | ||
</linker> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
<TestDependsOn Condition="'$(TestNoBuild)' != 'true' and '$(BuildAllProjects)' != 'true'">Build</TestDependsOn> | ||
<TestDependsOn>$(TestDependsOn);GenerateRunScript;RunTests</TestDependsOn> | ||
<VSTestNoLogo>true</VSTestNoLogo> | ||
<ILDescriptorsPath>$(MSBuildThisFileDirectory)ildescriptors\</ILDescriptorsPath> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs a better name. How about?
|
||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<linker> | ||
<assembly fullname="System.Diagnostics.TraceSource"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one is a bit unexpected, do you know where is it used? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed - this shouldn't be necessary because all the ILLink warnings are fixed in this assembly. This might be a product bug somewhere. |
||
<type fullname="System.Diagnostics.TraceListener"> | ||
<method signature="System.Void .ctor()" /> | ||
</type> | ||
</assembly> | ||
</linker> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<linker> | ||
<assembly fullname="mscorlib" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this still necessary with the latest linker? We had a few fixes that went in to preserve facade assemblies. |
||
</linker> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,7 @@ | |
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\TestExe\System.Reflection.TestExe.csproj" /> | ||
|
||
<TrimmerRootDescriptor Include="$(MSBuildThisFileDirectory)..\ILLink.Descriptors.CoreCLR.xml" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this |
||
</ItemGroup> | ||
</Project> | ||
</Project> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<linker> | ||
<assembly fullname="System.Reflection.TestExe" /> | ||
</linker> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<linker> | ||
<assembly fullname="System.Private.CoreLib"> | ||
<type fullname="System.Collections.ArrayList" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is suprising. Why is this necessary? |
||
</assembly> | ||
<assembly fullname="ForwardedTypesAssembly" /> | ||
<assembly fullname="UnloadableAssembly" /> | ||
</linker> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<linker> | ||
<assembly fullname="System.Configuration.ConfigurationManager"> | ||
<type fullname="System.Configuration.ClientConfigurationHost"> | ||
<method signature="System.Void .ctor()" /> | ||
</type> | ||
</assembly> | ||
</linker> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these still necessary on the latest main? @joperezr addressed the ILLink warnings in this assembly, so these might be fixed.
If they aren't fixed, we should open a bug to make sure we don't have a product bug here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DCS is annotated now but most of it was annotated as unsafe. It would be good to understand who actually needs this so that we can check why is the type not being preserved and to find out if it is expected or not