From b9d12bbc8d9ef44452d6cee0d37da47b0f879a50 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sat, 26 May 2018 13:34:06 -0500 Subject: [PATCH] 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 --- .gitignore | 1 + meson.build | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 meson.build diff --git a/.gitignore b/.gitignore index 53eaa21..3e53df8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target **/*.rs.bk +build diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..985719c --- /dev/null +++ b/meson.build @@ -0,0 +1,6 @@ +project('meson-rust', ['rust']) + +executable('main', [ + 'src/main.rs', + 'src/foo.rs' + ])