aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/rust/3 staticlib/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/rust/3 staticlib/meson.build')
-rw-r--r--meson/test cases/rust/3 staticlib/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/rust/3 staticlib/meson.build b/meson/test cases/rust/3 staticlib/meson.build
new file mode 100644
index 000000000..676956463
--- /dev/null
+++ b/meson/test cases/rust/3 staticlib/meson.build
@@ -0,0 +1,5 @@
+project('rust static library', 'rust')
+
+l = static_library('stuff', 'stuff.rs', install : true)
+e = executable('prog', 'prog.rs', link_with : l, install : true)
+test('linktest', e)