summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-02 12:26:14 +0800
committerruki <[email protected]>2022-04-02 12:26:14 +0800
commita9f5e6556fc8ee8584aedb9d4b5b88ab475bef0e (patch)
treef25ecd1018f930482b55cbebde81957a415f4fd1 /tests
parent3261ecb32c7c5c0c4c71e5b78a03b0cd203652f1 (diff)
improve to find cargo package
Diffstat (limited to 'tests')
-rw-r--r--tests/projects/rust/cargo_deps_with_toml/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/rust/cargo_deps_with_toml/xmake.lua b/tests/projects/rust/cargo_deps_with_toml/xmake.lua
index c2837b813..b9f878c13 100644
--- a/tests/projects/rust/cargo_deps_with_toml/xmake.lua
+++ b/tests/projects/rust/cargo_deps_with_toml/xmake.lua
@@ -1,5 +1,5 @@
add_rules("mode.release", "mode.debug")
-add_requires("cargo::test", {configs = {tomlfile = path.join(os.projectdir(), "Cargo.toml")}})
+add_requires("cargo::test", {configs = {cargo_toml = path.join(os.projectdir(), "Cargo.toml")}})
target("test")
set_kind("binary")