Skip to content

Commit a3db1cd

Browse files
committed
build(bazel): swc_trace_macro
1 parent 3ee012a commit a3db1cd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

crates/swc_trace_macro/BUILD.bazel

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
load("@swc_cargo_workspace_index//:defs.bzl", "crate_deps")
2+
load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
3+
4+
package(default_visibility = ["//visibility:public"])
5+
6+
rust_proc_macro(
7+
name = "swc_trace_macro",
8+
srcs = glob(["src/**/*.rs"]),
9+
deps = crate_deps([
10+
"proc-macro2",
11+
"quote",
12+
"syn",
13+
]),
14+
)

0 commit comments

Comments
 (0)