sentry-native icon indicating copy to clipboard operation
sentry-native copied to clipboard

Support Windows on ARM64

Open ddula opened this issue 4 years ago • 1 comments

Windows can run on machines that are powered by ARM64 processors.

Does sentry-native have plans to support Windows on ARM64?

ddula avatar Sep 06 '21 04:09 ddula

I think this should be supported, I don’t see a reason why not. Though none of us engineers have such a machine to actually test this.

Swatinem avatar Sep 06 '21 14:09 Swatinem

Though none of us engineers have such a machine to actually test this.

One option is to cross-compile from a x86_64 device to ARM64 - at least for the build part.

Currently the following compilation error occurs when trying to compile for ARM64:

src\unwinder\sentry_unwinder_dbghelp.c(48): error C2039: 'Rip': is not a member of '_CONTEXT'

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winnt.h(6549): note: see declaration of '_CONTEXT'

cnicolaescu avatar Dec 26 '22 11:12 cnicolaescu

Cross compiling would indeed be an option for builds, but that still leaves the question of running tests. Preferably in CI, as otherwise things can break at any point.

We as a team are currently in a process to more clearly define what we want to actively support or not.

That said, Windows arm64 is not something we plan on actively supporting anytime soon, though we are always happy to receive contributions.

Swatinem avatar Dec 28 '22 07:12 Swatinem