mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 11:09:54 +00:00
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:
parent
ac5f118dac
commit
4aca94154f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user