summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2023-08-09 00:45:21 +0800
committerruki <[email protected]>2023-08-09 00:45:21 +0800
commitd56fd4e78dd1d5a64409df3b8c889a54a4f740eb (patch)
treefa70ae50d2aca8f0b198a7d4c3ad3360da8acfee /tests/projects
parent04ff2a200ba3be2334827b3fe0385038aee9c090 (diff)
use arch to select target
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,