This repository was archived by the owner on Mar 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
lucet-runtime/lucet-runtime-tests/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,14 +194,14 @@ macro_rules! guest_fault_tests {
194194 static ref RECOVERABLE_PTR_LOCK : Mutex <( ) > = Mutex :: new( ( ) ) ;
195195 }
196196
197- #[ cfg( target_os = "linux" ) ]
197+ #[ cfg( any ( target_os = "linux" , target_os = "freebsd" ) ) ]
198198 const INVALID_PERMISSION_FAULT : libc:: c_int = SIGSEGV ;
199- #[ cfg( not( target_os = "linux" ) ) ]
199+ #[ cfg( not( any ( target_os = "linux" , target_os = "freebsd" ) ) ) ]
200200 const INVALID_PERMISSION_FAULT : libc:: c_int = SIGBUS ;
201201
202- #[ cfg( target_os = "linux" ) ]
202+ #[ cfg( any ( target_os = "linux" , target_os = "freebsd" ) ) ]
203203 const INVALID_PERMISSION_SIGNAL : Signal = Signal :: SIGSEGV ;
204- #[ cfg( not( target_os = "linux" ) ) ]
204+ #[ cfg( not( any ( target_os = "linux" , target_os = "freebsd" ) ) ) ]
205205 const INVALID_PERMISSION_SIGNAL : Signal = Signal :: SIGBUS ;
206206
207207 unsafe fn recoverable_ptr_setup( ) {
You can’t perform that action at this time.
0 commit comments