summaryrefslogtreecommitdiffstats
path: root/test cases/rust/4 polyglot/meson.build
blob: 3601d5ed84d51cd17c556fd9d8f1164fc8893063 (plain)
1
2
3
4
5
6
7
8
9
project('rust and c polyglot executable', 'c', 'rust')

if host_machine.system() == 'darwin'
  error('MESON_SKIP_TEST: does not work right on macos, please fix!')
endif

l = shared_library('stuff', 'stuff.rs', rust_crate_type: 'cdylib', install : true)
e = executable('prog', 'prog.c', link_with : l, install : true)
test('polyglottest', e)