summaryrefslogtreecommitdiff
path: root/test/dynamic/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/dynamic/TARGETS
downloadrules-rust-f87ad41f72ca4465a0c5b4ba9fd36a7b09e4d4f4.tar.gz
Initial commit
Co-authored-by: Klaus Aehlig <klaus.aehlig@huawei.com>
Diffstat (limited to 'test/dynamic/TARGETS')
-rw-r--r--test/dynamic/TARGETS53
1 files changed, 53 insertions, 0 deletions
diff --git a/test/dynamic/TARGETS b/test/dynamic/TARGETS
new file mode 100644
index 0000000..556176e
--- /dev/null
+++ b/test/dynamic/TARGETS
@@ -0,0 +1,53 @@
+{ "baz-lib":
+ { "type": ["@", "rules", "rust", "library"]
+ , "name": ["baz"]
+ , "stage": ["baz"]
+ , "crate_root": ["baz.rs"]
+ , "edition": ["2021"]
+ , "version": ["1", "2", "3", "rc-1"]
+ }
+, "bar-lib":
+ { "type": ["@", "rules", "rust", "library"]
+ , "name": ["bar"]
+ , "stage": ["bar"]
+ , "crate_root": ["bar.rs"]
+ , "edition": ["2021"]
+ , "deps": ["baz-lib"]
+ }
+, "bar-missing-baz":
+ { "type": ["@", "rules", "rust", "library"]
+ , "name": ["bar"]
+ , "stage": ["bar"]
+ , "crate_root": ["bar.rs"]
+ , "edition": ["2021"]
+ }
+, "foo-lib":
+ { "type": ["@", "rules", "rust", "library"]
+ , "shared": ["true"]
+ , "name": ["foo"]
+ , "stage": ["foo"]
+ , "crate_root": ["foo.rs"]
+ , "edition": ["2021"]
+ , "deps": ["bar-lib"]
+ }
+, "main":
+ { "type": ["@", "rules", "rust", "binary"]
+ , "name": ["main"]
+ , "stage": ["bin"]
+ , "crate_root": ["main.rs"]
+ , "deps": ["foo-lib"]
+ }
+, "main-wrong-dep":
+ { "type": ["@", "rules", "rust", "binary"]
+ , "name": ["main"]
+ , "stage": ["bin"]
+ , "crate_root": ["main.rs"]
+ , "deps": ["bar-lib"]
+ }
+, "main-missing-dep":
+ { "type": ["@", "rules", "rust", "binary"]
+ , "name": ["main"]
+ , "stage": ["bin"]
+ , "crate_root": ["main.rs"]
+ }
+}