summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/rust/cargo_deps_cross_build/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/rust/cargo_deps_cross_build/xmake.lua b/tests/projects/rust/cargo_deps_cross_build/xmake.lua
index 36a0e73c7..e02e14f82 100644
--- a/tests/projects/rust/cargo_deps_cross_build/xmake.lua
+++ b/tests/projects/rust/cargo_deps_cross_build/xmake.lua
@@ -1,6 +1,7 @@
-- rustup target add aarch64-unknown-none
--- xmake f -p cross --cross=aarch64-unknown-none
+-- xmake f -a aarch64-unknown-none
+set_arch("aarch64-unknown-none")
add_rules("mode.release", "mode.debug")
add_requires("cargo::test", {configs = {
std = false,