Browse Source

Add basic meson.build for rust project

While the project compiles OK with `cargo build`, it does not compile
with meson. See https://github.com/mesonbuild/meson/issues/3632
master
Mahmoud Al-Qudsi 1 year ago
parent
commit
b9d12bbc8d
2 changed files with 7 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 6
    0
      meson.build

+ 1
- 0
.gitignore View File

@@ -1,2 +1,3 @@
1 1
 /target
2 2
 **/*.rs.bk
3
+build

+ 6
- 0
meson.build View File

@@ -0,0 +1,6 @@
1
+project('meson-rust', ['rust'])
2
+
3
+executable('main', [
4
+  'src/main.rs',
5
+  'src/foo.rs'
6
+  ])

Loading…
Cancel
Save