summaryrefslogtreecommitdiff
path: root/tests/projects/rust
diff options
context:
space:
mode:
authorw568w <[email protected]>2023-08-09 00:26:01 +0800
committerw568w <[email protected]>2023-08-09 00:26:01 +0800
commit0b82a790bad9538e09102afc31fc29c1e9bac826 (patch)
treefcc300be34a984423bfa0e1e387f817a94b7fd41 /tests/projects/rust
parentd56fd4e78dd1d5a64409df3b8c889a54a4f740eb (diff)
use `cargo metadata` to fetch the name set of cargo libraries
Diffstat (limited to 'tests/projects/rust')
-rw-r--r--tests/projects/rust/cargo_deps_cross_build/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/projects/rust/cargo_deps_cross_build/Cargo.toml b/tests/projects/rust/cargo_deps_cross_build/Cargo.toml
index 6761593dc..fdc6c3132 100644
--- a/tests/projects/rust/cargo_deps_cross_build/Cargo.toml
+++ b/tests/projects/rust/cargo_deps_cross_build/Cargo.toml
@@ -5,3 +5,6 @@ edition = "2021"
[dependencies]
spin = "^0.9"
+
+[target.'cfg(target_arch = "aarch64")'.dependencies]
+aarch64-cpu = "^9.3"