diff options
| author | ruki <[email protected]> | 2022-04-02 12:26:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-02 12:26:14 +0800 |
| commit | a9f5e6556fc8ee8584aedb9d4b5b88ab475bef0e (patch) | |
| tree | f25ecd1018f930482b55cbebde81957a415f4fd1 /tests | |
| parent | 3261ecb32c7c5c0c4c71e5b78a03b0cd203652f1 (diff) | |
improve to find cargo package
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/rust/cargo_deps_with_toml/xmake.lua | 2 |
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") |
