blob: dcdfc36e2c209db2ae959d163299ec38f0063922 [file] [log] [blame]
project('rustprog', 'c')
if not add_languages('rust', required : false)
error('MESON_SKIP_TEST crt-static doesn\'t work')
endif
c_lib = static_library('lib', 'lib.c')
executable('main', 'main.rs', link_with : c_lib)