diff options
Diffstat (limited to 'tests/projects/rust/cargo_deps_without_std/xmake.lua')
| -rw-r--r-- | tests/projects/rust/cargo_deps_without_std/xmake.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/rust/cargo_deps_without_std/xmake.lua b/tests/projects/rust/cargo_deps_without_std/xmake.lua new file mode 100644 index 000000000..b9f878c13 --- /dev/null +++ b/tests/projects/rust/cargo_deps_without_std/xmake.lua @@ -0,0 +1,7 @@ +add_rules("mode.release", "mode.debug") +add_requires("cargo::test", {configs = {cargo_toml = path.join(os.projectdir(), "Cargo.toml")}}) + +target("test") + set_kind("binary") + add_files("src/main.rs") + add_packages("cargo::test") |
