mirror of
https://github.com/janet-lang/janet
synced 2024-09-28 23:10:40 +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 (= (thunk) 1) "delay 3")
|
||||||
(assert (= counter 1) "delay 4")
|
(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
|
# FFI check
|
||||||
(compwhen has-ffi
|
(compwhen has-ffi
|
||||||
|
Loading…
Reference in New Issue
Block a user