Skip to content

Commit

Permalink
Merge pull request #99579 from carlossanlop/release/8.0-staging
Browse files Browse the repository at this point in the history
[manual] Merge release/8.0-staging into release/8.0
  • Loading branch information
carlossanlop authored Mar 12, 2024
2 parents 13d578b + 0ba49c9 commit 208b64e
Show file tree
Hide file tree
Showing 30 changed files with 601 additions and 142 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"microsoft.dotnet.xharness.cli": {
"version": "8.0.0-prerelease.24060.1",
"version": "8.0.0-prerelease.24112.2",
"commands": [
"xharness"
]
Expand Down
2 changes: 1 addition & 1 deletion NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<clear />
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<!-- Begin: Package sources from dotnet-emsdk -->
<add key="darc-pub-dotnet-emsdk-9a29abd" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-9a29abdd/nuget/v3/index.json" />
<add key="darc-pub-dotnet-emsdk-1639670" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-1639670c/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-emsdk -->
<!-- Begin: Package sources from dotnet-sdk -->
<!-- End: Package sources from dotnet-sdk -->
Expand Down
7 changes: 4 additions & 3 deletions eng/Publishing.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>
<!-- TODO: Consolidate the Publishing.props files into here. -->

<PropertyGroup>
<PublishingVersion>3</PublishingVersion>
<ProducesDotNetReleaseShippingAssets>true</ProducesDotNetReleaseShippingAssets>
</PropertyGroup>
</Project>

</Project>
80 changes: 40 additions & 40 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,23 @@
<Sha>45dd3a73dd5b64b010c4251303b3664bb30df029</Sha>
<SourceBuild RepoName="cecil" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100" Version="8.0.3">
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100" Version="8.0.4">
<Uri>https://github.com/dotnet/emsdk</Uri>
<Sha>9a29abdd764a4de0f253ed368871877a47725247</Sha>
<Sha>1639670c6547454278f51afc5c74e20f8acc7abd</Sha>
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.emsdk" Version="8.0.3-servicing.24108.3">
<Dependency Name="Microsoft.SourceBuild.Intermediate.emsdk" Version="8.0.4-servicing.24156.2">
<Uri>https://github.com/dotnet/emsdk</Uri>
<Sha>9a29abdd764a4de0f253ed368871877a47725247</Sha>
<Sha>1639670c6547454278f51afc5c74e20f8acc7abd</Sha>
<SourceBuild RepoName="emsdk" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="8.0.0-alpha.1.24061.1">
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
<Sha>453a37ef7ae6c335cd49b3b9ab7713c87faeb265</Sha>
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="8.0.0-alpha.1.24065.1">
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="8.0.0-alpha.1.24158.3">
<Uri>https://github.com/dotnet/source-build-externals</Uri>
<Sha>83274d94c7e2ff21081b0d75ecbec2da2241f831</Sha>
<Sha>7a9b99e457a2b9792a3c17ccaf95d80038725108</Sha>
<SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
</Dependency>
</ProductDependencies>
Expand Down Expand Up @@ -185,57 +185,57 @@
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>da98edc4c3ea539f109ea320672136ceb32591a7</Sha>
</Dependency>
<Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Data.Common.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Data.Common.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Drawing.Common.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Drawing.Common.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Formats.Tar.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Formats.Tar.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.IO.Compression.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.IO.Compression.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.IO.Packaging.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.IO.Packaging.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Net.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Net.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Private.Runtime.UnicodeData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Private.Runtime.UnicodeData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Runtime.TimeZoneData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Runtime.TimeZoneData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Text.RegularExpressions.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Text.RegularExpressions.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="System.Windows.Extensions.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Windows.Extensions.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.CilStrip.Sources" Version="8.0.0-beta.24108.4">
<Dependency Name="Microsoft.DotNet.CilStrip.Sources" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk" Version="16.0.5-alpha.1.23566.1" CoherentParentDependency="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100">
<Uri>https://github.com/dotnet/llvm-project</Uri>
Expand Down Expand Up @@ -322,17 +322,17 @@
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>edbd5c769a19798b6955050baccf99e6797d3208</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.24060.1">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.24112.2">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>a417169d3ba558fd6daa522f04e686574bbce520</Sha>
<Sha>c055cc57f21796e79ace4bca2b070a8777f2446a</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.24060.1">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.24112.2">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>a417169d3ba558fd6daa522f04e686574bbce520</Sha>
<Sha>c055cc57f21796e79ace4bca2b070a8777f2446a</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.24060.1">
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.24112.2">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>a417169d3ba558fd6daa522f04e686574bbce520</Sha>
<Sha>c055cc57f21796e79ace4bca2b070a8777f2446a</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.PackageTesting" Version="8.0.0-beta.24113.2">
<Uri>https://github.com/dotnet/arcade</Uri>
Expand All @@ -358,9 +358,9 @@
<Uri>https://github.com/dotnet/hotreload-utils</Uri>
<Sha>bc857c64c5c5f1fc73048261e8f471c3310224d2</Sha>
</Dependency>
<Dependency Name="System.Runtime.Numerics.TestData" Version="8.0.0-beta.24108.4">
<Dependency Name="System.Runtime.Numerics.TestData" Version="8.0.0-beta.24115.2">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>ca6c46012f68934198ce0d303196c3ae179230f5</Sha>
<Sha>0827f89642a6443c96a87990e3b910f6aa4cc4ed</Sha>
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.8.0-7.23566.2">
<Uri>https://github.com/dotnet/roslyn</Uri>
Expand Down
38 changes: 19 additions & 19 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -143,20 +143,20 @@
<SystemValueTupleVersion>4.5.0</SystemValueTupleVersion>
<runtimenativeSystemIOPortsVersion>8.0.0-rc.1.23406.6</runtimenativeSystemIOPortsVersion>
<!-- Runtime-Assets dependencies -->
<SystemRuntimeNumericsTestDataVersion>8.0.0-beta.24108.4</SystemRuntimeNumericsTestDataVersion>
<SystemComponentModelTypeConverterTestDataVersion>8.0.0-beta.24108.4</SystemComponentModelTypeConverterTestDataVersion>
<SystemDataCommonTestDataVersion>8.0.0-beta.24108.4</SystemDataCommonTestDataVersion>
<SystemDrawingCommonTestDataVersion>8.0.0-beta.24108.4</SystemDrawingCommonTestDataVersion>
<SystemFormatsTarTestDataVersion>8.0.0-beta.24108.4</SystemFormatsTarTestDataVersion>
<SystemIOCompressionTestDataVersion>8.0.0-beta.24108.4</SystemIOCompressionTestDataVersion>
<SystemIOPackagingTestDataVersion>8.0.0-beta.24108.4</SystemIOPackagingTestDataVersion>
<SystemNetTestDataVersion>8.0.0-beta.24108.4</SystemNetTestDataVersion>
<SystemPrivateRuntimeUnicodeDataVersion>8.0.0-beta.24108.4</SystemPrivateRuntimeUnicodeDataVersion>
<SystemRuntimeTimeZoneDataVersion>8.0.0-beta.24108.4</SystemRuntimeTimeZoneDataVersion>
<SystemSecurityCryptographyX509CertificatesTestDataVersion>8.0.0-beta.24108.4</SystemSecurityCryptographyX509CertificatesTestDataVersion>
<SystemTextRegularExpressionsTestDataVersion>8.0.0-beta.24108.4</SystemTextRegularExpressionsTestDataVersion>
<SystemWindowsExtensionsTestDataVersion>8.0.0-beta.24108.4</SystemWindowsExtensionsTestDataVersion>
<MicrosoftDotNetCilStripSourcesVersion>8.0.0-beta.24108.4</MicrosoftDotNetCilStripSourcesVersion>
<SystemRuntimeNumericsTestDataVersion>8.0.0-beta.24115.2</SystemRuntimeNumericsTestDataVersion>
<SystemComponentModelTypeConverterTestDataVersion>8.0.0-beta.24115.2</SystemComponentModelTypeConverterTestDataVersion>
<SystemDataCommonTestDataVersion>8.0.0-beta.24115.2</SystemDataCommonTestDataVersion>
<SystemDrawingCommonTestDataVersion>8.0.0-beta.24115.2</SystemDrawingCommonTestDataVersion>
<SystemFormatsTarTestDataVersion>8.0.0-beta.24115.2</SystemFormatsTarTestDataVersion>
<SystemIOCompressionTestDataVersion>8.0.0-beta.24115.2</SystemIOCompressionTestDataVersion>
<SystemIOPackagingTestDataVersion>8.0.0-beta.24115.2</SystemIOPackagingTestDataVersion>
<SystemNetTestDataVersion>8.0.0-beta.24115.2</SystemNetTestDataVersion>
<SystemPrivateRuntimeUnicodeDataVersion>8.0.0-beta.24115.2</SystemPrivateRuntimeUnicodeDataVersion>
<SystemRuntimeTimeZoneDataVersion>8.0.0-beta.24115.2</SystemRuntimeTimeZoneDataVersion>
<SystemSecurityCryptographyX509CertificatesTestDataVersion>8.0.0-beta.24115.2</SystemSecurityCryptographyX509CertificatesTestDataVersion>
<SystemTextRegularExpressionsTestDataVersion>8.0.0-beta.24115.2</SystemTextRegularExpressionsTestDataVersion>
<SystemWindowsExtensionsTestDataVersion>8.0.0-beta.24115.2</SystemWindowsExtensionsTestDataVersion>
<MicrosoftDotNetCilStripSourcesVersion>8.0.0-beta.24115.2</MicrosoftDotNetCilStripSourcesVersion>
<!-- dotnet-optimization dependencies -->
<optimizationwindows_ntx64MIBCRuntimeVersion>1.0.0-prerelease.23566.3</optimizationwindows_ntx64MIBCRuntimeVersion>
<optimizationwindows_ntx86MIBCRuntimeVersion>1.0.0-prerelease.23566.3</optimizationwindows_ntx86MIBCRuntimeVersion>
Expand All @@ -165,7 +165,7 @@
<optimizationlinuxarm64MIBCRuntimeVersion>1.0.0-prerelease.23566.3</optimizationlinuxarm64MIBCRuntimeVersion>
<optimizationPGOCoreCLRVersion>1.0.0-prerelease.23566.3</optimizationPGOCoreCLRVersion>
<!-- Not auto-updated. -->
<MicrosoftDiaSymReaderNativeVersion>16.11.29-beta1.23404.4</MicrosoftDiaSymReaderNativeVersion>
<MicrosoftDiaSymReaderNativeVersion>17.8.7-beta1.24113.1</MicrosoftDiaSymReaderNativeVersion>
<SystemCommandLineVersion>2.0.0-beta4.23307.1</SystemCommandLineVersion>
<TraceEventVersion>3.0.3</TraceEventVersion>
<NETStandardLibraryRefVersion>2.1.0</NETStandardLibraryRefVersion>
Expand All @@ -183,9 +183,9 @@
<!-- Testing -->
<MicrosoftNETCoreCoreDisToolsVersion>1.1.0</MicrosoftNETCoreCoreDisToolsVersion>
<MicrosoftNETTestSdkVersion>17.4.0-preview-20220707-01</MicrosoftNETTestSdkVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.24060.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.24060.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.24060.1</MicrosoftDotNetXHarnessCLIVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.24112.2</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.24112.2</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.24112.2</MicrosoftDotNetXHarnessCLIVersion>
<MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>8.0.0-alpha.0.24072.2</MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>
<XUnitVersion>2.4.2</XUnitVersion>
<XUnitAnalyzersVersion>1.0.0</XUnitAnalyzersVersion>
Expand Down Expand Up @@ -240,7 +240,7 @@
Note: when the name is updated, make sure to update dependency name in eng/pipelines/common/xplat-setup.yml
like - DarcDependenciesChanged.Microsoft_NET_Workload_Emscripten_Current_Manifest-8_0_100_Transport
-->
<MicrosoftNETWorkloadEmscriptenCurrentManifest80100Version>8.0.3</MicrosoftNETWorkloadEmscriptenCurrentManifest80100Version>
<MicrosoftNETWorkloadEmscriptenCurrentManifest80100Version>8.0.4</MicrosoftNETWorkloadEmscriptenCurrentManifest80100Version>
<MicrosoftNETRuntimeEmscriptenVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest80100Version)</MicrosoftNETRuntimeEmscriptenVersion>
<!-- workloads -->
<SwixPackageVersion>1.1.87-gba258badda</SwixPackageVersion>
Expand Down
8 changes: 7 additions & 1 deletion src/coreclr/jit/codegencommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6154,8 +6154,14 @@ void CodeGen::genFnProlog()
};

#if defined(TARGET_AMD64) || defined(TARGET_ARM64) || defined(TARGET_ARM)
assignIncomingRegisterArgs(&intRegState);
// Handle float parameters first; in the presence of struct promotion
// we can have parameters that are homed into float registers but
// passed in integer registers. So make sure we get those out of the
// integer registers before we potentially override those as part of
// handling integer parameters.

assignIncomingRegisterArgs(&floatRegState);
assignIncomingRegisterArgs(&intRegState);
#else
assignIncomingRegisterArgs(&intRegState);
#endif
Expand Down
15 changes: 15 additions & 0 deletions src/coreclr/jit/lsra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,21 @@ bool LinearScan::isRegCandidate(LclVarDsc* varDsc)
return false;
}

// Avoid allocating parameters that are passed in float regs into integer
// registers. We currently home float registers before integer registers,
// so that kind of enregistration can trash integer registers containing
// other parameters.
// We assume that these cases will be homed to float registers if they are
// promoted.
// TODO-CQ: Combine integer and float register homing to handle these kinds
// of conflicts.
if ((varDsc->TypeGet() == TYP_STRUCT) && varDsc->lvIsRegArg && !varDsc->lvPromoted &&
varTypeUsesIntReg(varDsc->GetRegisterType()) && genIsValidFloatReg(varDsc->GetArgReg()))
{
compiler->lvaSetVarDoNotEnregister(lclNum DEBUGARG(DoNotEnregisterReason::IsStructArg));
return false;
}

// Are we not optimizing and we have exception handlers?
// if so mark all args and locals as volatile, so that they
// won't ever get enregistered.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<_hostOS>$(NETCoreSdkPortableRuntimeIdentifier.SubString(0, $(NETCoreSdkPortableRuntimeIdentifier.LastIndexOf('-'))))</_hostOS>

<_targetOS>$(RuntimeIdentifier.SubString(0, $(RuntimeIdentifier.LastIndexOf('-'))))</_targetOS>
<_indexOfPeriod>$(_targetOS.IndexOf('.'))</_indexOfPeriod>
<_targetOS Condition="'$(_indexOfPeriod)' &gt; -1">$(_targetOS.SubString(0, $(_indexOfPeriod)))</_targetOS>
<_targetOS Condition="$(_targetOS.Contains('.'))">$(_targetOS.SubString(0, $(_targetOS.IndexOf('.'))))</_targetOS>
<_targetOS Condition="$(_targetOS.StartsWith('win'))">win</_targetOS>

<!-- On non-Windows, determine _hostArchitecture from NETCoreSdkPortableRuntimeIdentifier -->
Expand Down
3 changes: 3 additions & 0 deletions src/coreclr/vm/zapsig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,9 @@ BOOL ZapSig::EncodeMethod(
else
{
Instantiation inst = pMethod->GetMethodInstantiation();

pSigBuilder->AppendData(inst.GetNumArgs());

for (DWORD i = 0; i < inst.GetNumArgs(); i++)
{
TypeHandle t = inst[i];
Expand Down
12 changes: 12 additions & 0 deletions src/installer/prepare-artifacts.proj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
</PropertyGroup>
<Import Project="../tools/Sign.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<Import Project="$(RepositoryEngineeringDir)Publishing.props" Condition="Exists('$(RepositoryEngineeringDir)Publishing.props')" />

<UsingTask TaskName="GenerateChecksums" AssemblyFile="$(InstallerTasksAssemblyPath)" />

<PropertyGroup>
Expand Down Expand Up @@ -56,6 +58,16 @@
<ManifestBuildData Include="AzureDevOpsBranch=$(BUILD_SOURCEBRANCH)" />
</ItemGroup>

<!--
Set metadata for assets that are not marked as NonShipping.
This is used to determine if the asset should be shipped as part of .NET release.
-->
<ItemDefinitionGroup>
<ItemsToPush>
<ManifestArtifactData Condition="'$(ProducesDotNetReleaseShippingAssets)' == 'true'">DotNetReleaseShipping=true</ManifestArtifactData>
</ItemsToPush>
</ItemDefinitionGroup>

<!--
Run Arcade's signing project directly. The 'eng/Signing.props' extensibility props file checks
if '$(<StageName>)' == 'true' and points Arcade to the correct files.
Expand Down
Loading

0 comments on commit 208b64e

Please sign in to comment.