futhark-bindgen 0.2.8

Futhark binding generator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
(rule
    (targets example.c example.h example.ml example.mli)
    (deps example.fut)
     (action
         (run cargo run -- run example.fut example.ml)))
(library
    (name example)
    (public_name futhark-bindgen-example)
    (modules example)
    (libraries ctypes ctypes.foreign)
    (library_flags -linkall)
    (foreign_stubs (language c) (names example)))