You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm] The SDK's crossgen2 targets ignore PublishReadyToRunInstructionSet #137571
#137112 adds PublishReadyToRunInstructionSet, which maps to crossgen2's --instruction-set: in dotnet/runtime's copy of the crossgen2 targets (src/tasks/Crossgen2Tasks/Microsoft.NET.CrossGen.targets). Builds inside dotnet/runtime import that copy. App publishes use the SDK's own Microsoft.NET.CrossGen.targets, which doesn't map the property yet, so it's silently ignored:
Browser CoreCLR: opting in with PublishReadyToRunInstructionSet=relaxed-simd has no effect, and RelaxedSimd.IsSupported stays false.
WASI CoreCLR: opting out with PublishReadyToRunInstructionSet=-relaxed-simd has no effect. Relaxed SIMD itself stays on by default, because that default comes from crossgen2.
Wasm.Build.Tests.WasmSIMDTests.PublishRelaxedSimdEnabledCoreClr covers the browser opt-in against the real SDK. It's disabled against this issue; the opt-out case, PublishRelaxedSimdCoreClr, still runs.
Fix: add the same mapping to dotnet/sdk's Microsoft.NET.CrossGen.targets:
changed the title [-][wasm] Remove the PublishReadyToRunInstructionSet fallback targets once the SDK maps the property[/-][+][wasm] The SDK's crossgen2 targets ignore PublishReadyToRunInstructionSet[/+]on Nov 15, 2026
Activity
dotnet-policy-service commentedon Nov 15, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
Link the PublishReadyToRunInstructionSet fallback targets to dotnet#1…
dotnet-policy-service commentedon Nov 15, 2026
Tagging subscribers to this area: @dotnet/crossgen-contrib
See info in area-owners.md if you want to be subscribed.
[-][wasm] Remove the PublishReadyToRunInstructionSet fallback targets once the SDK maps the property[/-][+][wasm] The SDK's crossgen2 targets ignore PublishReadyToRunInstructionSet[/+][wasm] Quarantine relaxed SIMD WBT instead of overriding SDK crossgen…
lewing commentedon Nov 15, 2026
dotnet/sdk#57127