-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Austin Seipp <[email protected]>
- Loading branch information
1 parent
b02838a
commit 9d4a6fc
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? | ||
) |