oaknut: Add Windows on Arm support (#1)

* Add instruction-cache invalidation for Windows

chromium uses this function as well for their `CpuFeatures::FlushICache`
implementation and similarly utilizes `sys_icache_invalidate` on OSX.

* Fix MSVC compiler warning flags

Avoids build errors on MSVC. Just copied the warning flags used on
dynarmic.

* Implement `OAKNUT_USE_BUNDLED_CATCH`

For building on Windows. This was previously unimplemented as
`DYNARMIC_USE_BUNDLED_CATCH`.
This commit is contained in:
Wunk 2022-11-15 01:45:59 -08:00 committed by GitHub
parent 5de40335dc
commit 0b5745e4eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 3 deletions

View file

@ -29,7 +29,7 @@ jobs:
-B ${{github.workspace}}/build
-H.
-GNinja
-DDYNARMIC_USE_BUNDLED_CATCH=ON
-DOAKNUT_USE_BUNDLED_CATCH=ON
- name: Build
working-directory: ${{github.workspace}}/build