Files
meson/test cases/rust/4 polyglot/meson.build
Daniel Mensinger c4b8e03895 tests: both_library test improvements
This switches some `shared_library()` calls to `library()` and adds
one new CI matrix entries for -Ddefault_library={static, both}.
2021-06-22 21:09:25 +02:00

10 lines
339 B
Meson

project('rust and c polyglot executable', 'c', 'rust')
if host_machine.system() == 'darwin'
error('MESON_SKIP_TEST: doesnt 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)