project('rust proc-macro','rust')ifbuild_machine.system()!='linux'error('MESON_SKIP_TEST, this test only works on Linux. Patches welcome.')endifpm=shared_library('proc_macro_examples','proc.rs',rust_crate_type:'proc-macro',)main=executable('main','use.rs',link_with:pm)test('main_test',main)