Skip to content

Support win-arm64 runtime for Native AOT #3900

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

Closed
andrew-kulikov opened this issue Jan 15, 2025 · 10 comments
Closed

Support win-arm64 runtime for Native AOT #3900

andrew-kulikov opened this issue Jan 15, 2025 · 10 comments

Comments

@andrew-kulikov
Copy link

Problem Statement

Sentry v5.0.1 contains sentry-native library compiled for win-x64, linux-x64 and osx. In .NET 8 Microsoft officially shipped win-arm64 support for Native AOT. If possible, it would be great to have this runtime support in Sentry as well.

Use cases: WinUI 3 and UWP apps

Solution Brainstorm

No response

Product Area

Other

@getsantry
Copy link

getsantry bot commented Jan 15, 2025

Assigning to @getsentry/support for routing ⏲️

@dalnoki dalnoki transferred this issue from getsentry/sentry Jan 16, 2025
@kahest kahest transferred this issue from getsentry/sentry-native Jan 16, 2025
@jamescrosswell
Copy link
Collaborator

Hi @andrew-kulikov,

Currently we rely on GitHub for all of our testing so we'd need a Win Arm64 runner to be available before we could support this.

@whiskhub
Copy link

Windows ARM64 runners are now available: github/roadmap#1098

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 May 16, 2025
@bruno-garcia
Copy link
Member

I made a PR earlier this week but we hit some issues. We'll take a look perhaps once musl linux is done.

maybe something @jpnurmi can help as he's turning out to be the expert in getting this to run on all platforms 😅

@bruno-garcia
Copy link
Member

We should definitely add to the docs these capabilities once it lands. As it's quite a bit of work and special support and we should make it clear to folks we support it.

@jpnurmi
Copy link
Collaborator

jpnurmi commented May 16, 2025

The windows-11-arm image still has some rough edges, but it might already be good enough for sentry-dotnet's native build with the inproc backend.

The problems that blocked sentry-native from adding a windows-11-arm CI job were a) missing Rust (dev dependency for integration tests) and b) OpenSSL with wrong x64 arch (dependency for crashpad), but neither of those is needed for sentry-dotnet.

Copy link
Member

Perhaps once local scopes and musl are out there, supporting native in running on Windows ARM is a good next step?

@bruno-garcia
Copy link
Member

The .NET SDK itself builds on Windows arm64:

But we need to figure out the build on the native SDK which is a dependency on Native AOT support (for errors outside the .NET runtime itself)

@bruno-garcia
Copy link
Member

This was resolved on version 5.8.0

@bruno-garcia
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Archived in project
Development

No branches or pull requests

8 participants