aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/rust/1 basic/subdir
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/rust/1 basic/subdir')
-rw-r--r--meson/test cases/rust/1 basic/subdir/meson.build2
-rw-r--r--meson/test cases/rust/1 basic/subdir/prog.rs3
2 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/rust/1 basic/subdir/meson.build b/meson/test cases/rust/1 basic/subdir/meson.build
new file mode 100644
index 000000000..51b385b40
--- /dev/null
+++ b/meson/test cases/rust/1 basic/subdir/meson.build
@@ -0,0 +1,2 @@
+e = executable('program2', 'prog.rs', install : true)
+test('rusttest2', e)
diff --git a/meson/test cases/rust/1 basic/subdir/prog.rs b/meson/test cases/rust/1 basic/subdir/prog.rs
new file mode 100644
index 000000000..b171a80c2
--- /dev/null
+++ b/meson/test cases/rust/1 basic/subdir/prog.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("rust compiler is working");
+}