File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
load ("@swc_cargo_workspace_index//:defs.bzl" , "crate_deps" )
2
- load ("@rules_rust//rust:defs.bzl" , "rust_library" )
2
+ load ("@rules_rust//rust:defs.bzl" , "rust_library" , "rust_test" )
3
3
4
4
package (default_visibility = ["//visibility:public" ])
5
5
@@ -34,6 +34,11 @@ rust_library(
34
34
deps = base_deps ,
35
35
)
36
36
37
+ rust_test (
38
+ name = "swc_common_test" ,
39
+ crate = ":swc_common" ,
40
+ )
41
+
37
42
# Note: https://bazelbuild.slack.com/archives/CSV56UT0F/p1652691033613939
38
43
# bazel doesn't have cargo-like feature control system.
39
44
# Instead should have corresponding build targets with explcit list of
@@ -52,3 +57,8 @@ rust_library(
52
57
],
53
58
deps = base_deps + crate_deps (["parking_lot" ]),
54
59
)
60
+
61
+ rust_test (
62
+ name = "swc_common_concurrent_test" ,
63
+ crate = ":swc_common_concurrent" ,
64
+ )
You can’t perform that action at this time.
0 commit comments