summaryrefslogtreecommitdiff
path: root/test/rust-from-c/TARGETS
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2024-06-24 15:49:36 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-24 15:49:36 +0200
commitf87ad41f72ca4465a0c5b4ba9fd36a7b09e4d4f4 (patch)
tree24d4a3a5975df2046714c6bc114d5d050bdc61fc /test/rust-from-c/TARGETS
downloadrules-rust-f87ad41f72ca4465a0c5b4ba9fd36a7b09e4d4f4.tar.gz
Initial commit
Co-authored-by: Klaus Aehlig <klaus.aehlig@huawei.com>
Diffstat (limited to 'test/rust-from-c/TARGETS')
-rw-r--r--test/rust-from-c/TARGETS23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/rust-from-c/TARGETS b/test/rust-from-c/TARGETS
new file mode 100644
index 0000000..1cb8019
--- /dev/null
+++ b/test/rust-from-c/TARGETS
@@ -0,0 +1,23 @@
+{ "main":
+ { "type": ["@", "rules-cc", "CC", "binary"]
+ , "pure C": ["true"]
+ , "name": ["main"]
+ , "srcs": ["main.c"]
+ , "private-deps": [["./", "foo", "foo"]]
+ }
+, "test_foo":
+ { "type": ["rules/rust", "test"]
+ , "name": ["test_foo"]
+ , "crate_root": ["foo/foo_test.rs"]
+ , "stage": ["test_foo"]
+ , "deps": [["./", "foo", "foo"]]
+ }
+, "check_ints":
+ { "type": ["@", "rules-cc", "shell/test", "script"]
+ , "name": ["check_ints"]
+ , "test": ["check_ints.sh"]
+ , "deps": ["main"]
+ }
+, "TESTS":
+ {"type": "install", "deps": ["check_ints", "test_foo"], "tainted": ["test"]}
+}