Be more selective when testing FFI.

In the future, we really should get more FFI testing for
partially supported FFI on various platforms.
This commit is contained in:
Calvin Rose 2023-05-28 15:28:17 -05:00
parent ac5f118dac
commit 4aca94154f
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@
(assert (= (thunk) 1) "delay 3")
(assert (= counter 1) "delay 4")
(def has-ffi (dyn 'ffi/native))
# We should get ARM support...
(def has-ffi (and (dyn 'ffi/native) (= (os/arch) :x64)))
# FFI check
(compwhen has-ffi