The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
397 B

project('rustprog', 'rust', default_options : ['b_ndebug=true'])
e = executable('rust-program', 'prog.rs',
rust_args : ['-C', 'lto'], # Just a test
install : true
)
test('rusttest', e)
subdir('subdir')
# this should fail due to debug_assert
test(
'debug_assert_on',
executable(
'rust-program2',
'prog.rs',
override_options : ['b_ndebug=false'],
),
should_fail : true,
)