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 2 years 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 @@
/target
**/*.rs.bk
build

+ 6
- 0
meson.build View File

@@ -0,0 +1,6 @@
project('meson-rust', ['rust'])

executable('main', [
'src/main.rs',
'src/foo.rs'
])

Loading…
Cancel
Save