Skip to content

Commit

Permalink
proc-macros: add BUILD files
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <[email protected]>
  • Loading branch information
thoughtpolice committed Aug 21, 2024
1 parent 888c3d1 commit e798261
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lib/proc-macros/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

load("//buck/shims/jj.bzl", "jj")

alias(
# NOTE: default target for this package
name = 'proc-macros',
actual = ':jj-lib-proc-macros',
)

jj.rust_library(
name = 'jj-lib-proc-macros',
srcs = glob(["src/**/*.rs"]),
proc_macro = True,
deps = [
# CARGO-SYNC-START: dependencies
'third-party//rust:proc-macro2',
'third-party//rust:quote',
'third-party//rust:syn',
# CARGO-SYNC-END
],
visibility = ['PUBLIC'], # XXX FIXME (aseipp): why is this needed?
)

0 comments on commit e798261

Please sign in to comment.