summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2024-06-24 18:12:44 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2024-06-25 11:22:48 +0200
commitd1401e45d2bc5033a14366d272971a2973e85762 (patch)
tree6e20cbd7c3bb07c19e1779f44548a3ea291d8fcb /test
parenta2521a83bc055e315b2ce0f6cc876a4a5ac80908 (diff)
downloadrules-rust-d1401e45d2bc5033a14366d272971a2973e85762.tar.gz
repos.json: split main and testing repositories...
...such that user can just-import-git only the strictly required repository.
Diffstat (limited to 'test')
-rw-r--r--test/c-from-rust/TARGETS2
-rw-r--r--test/rust-from-c/TARGETS2
-rw-r--r--test/rust-from-c/foo/TARGETS4
3 files changed, 4 insertions, 4 deletions
diff --git a/test/c-from-rust/TARGETS b/test/c-from-rust/TARGETS
index 7da2055..9bec7d9 100644
--- a/test/c-from-rust/TARGETS
+++ b/test/c-from-rust/TARGETS
@@ -1,5 +1,5 @@
{ "main":
- { "type": ["rules/rust", "binary"]
+ { "type": ["@", "rules-rust", "rust", "binary"]
, "name": ["main"]
, "crate_root": ["main.rs"]
, "deps": [["./", "clib", "foo"]]
diff --git a/test/rust-from-c/TARGETS b/test/rust-from-c/TARGETS
index 1cb8019..22230e6 100644
--- a/test/rust-from-c/TARGETS
+++ b/test/rust-from-c/TARGETS
@@ -6,7 +6,7 @@
, "private-deps": [["./", "foo", "foo"]]
}
, "test_foo":
- { "type": ["rules/rust", "test"]
+ { "type": ["@", "rules-rust", "rust", "test"]
, "name": ["test_foo"]
, "crate_root": ["foo/foo_test.rs"]
, "stage": ["test_foo"]
diff --git a/test/rust-from-c/foo/TARGETS b/test/rust-from-c/foo/TARGETS
index 17c66ba..5a3e43c 100644
--- a/test/rust-from-c/foo/TARGETS
+++ b/test/rust-from-c/foo/TARGETS
@@ -1,5 +1,5 @@
{ "foo":
- { "type": ["rules/rust", "library"]
+ { "type": ["@", "rules-rust", "rust", "library"]
, "name": ["foo"]
, "crate_root": ["foo.rs"]
, "c_hdrs": ["foo.h"]
@@ -7,7 +7,7 @@
, "deps": ["bar"]
}
, "bar":
- { "type": ["rules/rust", "library"]
+ { "type": ["@", "rules-rust", "rust", "library"]
, "name": ["bar"]
, "crate_root": ["bar.rs"]
, "stage": ["bar"]