Repository navigation
Build native AOT runtime under Browser/WASI #134781
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
Merged
MichalStrehovsky
merged 7 commits into
dotnet:main
from
MichalStrehovsky:nativeaot-wasm-runtime-build
Sep 29, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
0662f82
Enable NativeAOT runtime builds for Browser and WASI
MichalStrehovsky 1514031
Use shared Unix crash dump handling for NativeAOT on WASM
MichalStrehovsky 307c297
Align NativeAOT WASM platform guards
MichalStrehovsky 23596b1
Remove LPVOID dependency from PTR_PTR_VOID
MichalStrehovsky 43cf7f6
Share NativeAOT assembly offset verification sources
MichalStrehovsky c0c3d52
Align NativeAOT WASM crash dump guards with Apple mobile
MichalStrehovsky 484ef74
Share NativeAOT WASI signal declarations
MichalStrehovsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| // | ||
| // This file is used by AsmOffsets.h to validate that our | ||
| // assembly-code offsets always match their C++ counterparts. | ||
| // | ||
| // NOTE: the offsets MUST be in hex notation WITHOUT the 0x prefix | ||
|
|
||
| PLAT_ASM_SIZEOF(98, ExInfo) | ||
| PLAT_ASM_OFFSET(0, ExInfo, m_pPrevExInfo) | ||
| PLAT_ASM_OFFSET(4, ExInfo, m_pExContext) | ||
| PLAT_ASM_OFFSET(8, ExInfo, m_exception) | ||
| PLAT_ASM_OFFSET(0c, ExInfo, m_kind) | ||
| PLAT_ASM_OFFSET(0d, ExInfo, m_passNumber) | ||
| PLAT_ASM_OFFSET(10, ExInfo, m_idxCurClause) | ||
| PLAT_ASM_OFFSET(14, ExInfo, m_frameIter) | ||
| PLAT_ASM_OFFSET(94, ExInfo, m_notifyDebuggerSP) | ||
|
|
||
| PLAT_ASM_SIZEOF(80, StackFrameIterator) | ||
| PLAT_ASM_OFFSET(08, StackFrameIterator, m_FramePointer) | ||
| PLAT_ASM_OFFSET(0c, StackFrameIterator, m_ControlPC) | ||
| PLAT_ASM_OFFSET(10, StackFrameIterator, m_RegDisplay) | ||
| PLAT_ASM_OFFSET(78, StackFrameIterator, m_OriginalControlPC) | ||
| PLAT_ASM_OFFSET(7c, StackFrameIterator, m_pPreviousTransitionFrame) | ||
|
|
||
| PLAT_ASM_SIZEOF(4, PAL_LIMITED_CONTEXT) | ||
| PLAT_ASM_OFFSET(0, PAL_LIMITED_CONTEXT, IP) | ||
|
|
||
| PLAT_ASM_SIZEOF(8, REGDISPLAY) | ||
| PLAT_ASM_OFFSET(0, REGDISPLAY, SP) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.