Skip to content

Commit b357165

Browse files
devnexenmjp41
andauthored
Vm ci fixnetbsd (#592)
* Disable PAL access enforcing on netbsd * Clangformat --------- Co-authored-by: Matthew Parkinson <mattpark@microsoft.com>
1 parent 50cb8b8 commit b357165

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/snmalloc/pal/pal_consts.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ namespace snmalloc
2121
* read/write, for added excitement). For the moment, just force this down on
2222
* CHERI.
2323
*/
24-
#if defined(SNMALLOC_CHECK_CLIENT) && !defined(__CHERI_PURE_CAPABILITY__)
24+
#if defined(SNMALLOC_CHECK_CLIENT) && !defined(__CHERI_PURE_CAPABILITY__) && \
25+
!defined(__NetBSD__)
2526
static constexpr bool PalEnforceAccess = true;
2627
#else
2728
static constexpr bool PalEnforceAccess = false;

0 commit comments

Comments
 (0)