Skip to content

Disable NativeAOT for VMR wasm runtime builds - #10489

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix/wasm-nativeaot-regression
Oct 27, 2026
Merged

akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix/wasm-nativeaot-regression

Conversation

@akoeplinger

@akoeplinger akoeplinger commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Fix the browser CoreCLR and WASI build breaks introduced by dotnet/arcade#17702 by passing NativeAotSupported=false for wasm runtime builds, restoring the previous behavior.

Validated MSBuild arguments and runtime project selection; full CI builds not run.

Note

Prepared with GitHub Copilot.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 51608ab9-f3c3-4753-8a42-60398efbb8f1
@akoeplinger
akoeplinger requested review from a team as code owners October 27, 2026 14:22
Copilot AI balanced review requested due to automatic review settings October 27, 2026 14:22
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@akoeplinger

akoeplinger commented Oct 27, 2026 •

Copy link
Copy Markdown
Member Author

not tested in public, merging to unblock the build

@akoeplinger
akoeplinger merged commit d5f571e into dotnet:main Oct 27, 2026
1 of 10 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The narrowly scoped override matches the intended runtime project selection, with no blocking issues identified; full CI builds remain unrun.

No open issues 🎉

What changed in this PR

Disables NativeAOT for VMR WebAssembly runtime builds, restoring the previous browser and WASI build behavior after Arcade enabled wasm NativeAOT support.

Changes:

  • Passes /p:NativeAotSupported=false when TargetArchitecture is wasm, leaving other architectures unchanged.
  • Documents that NativeAOT wasm builds are not yet supported in the VMR.
File Description
repo-projects/​runtime.proj Adds the wasm-specific NativeAOT override and explanatory comment.

Review effort: Balanced

@akoeplinger
akoeplinger deleted the fix/wasm-nativeaot-regression branch October 27, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants