diff options
Diffstat (limited to 'third-party/BUCK')
-rw-r--r-- | third-party/BUCK | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/third-party/BUCK b/third-party/BUCK index 84a5e18b..2633da87 100644 --- a/third-party/BUCK +++ b/third-party/BUCK @@ -1,13 +1,15 @@ # To be generated by Facebook's `reindeer` tool once that is open source. +load("//tools/buck:rust_library.bzl", "rust_library") + rust_library( name = "bitflags", - srcs = glob(["vendor/bitflags-1.2.1/src/**"]), + srcs = glob(["vendor/bitflags-1.3.2/src/**"]), ) rust_library( name = "cc", - srcs = glob(["vendor/cc-1.0.67/src/**"]), + srcs = glob(["vendor/cc-1.0.69/src/**"]), visibility = ["PUBLIC"], ) @@ -41,25 +43,21 @@ rust_library( rust_library( name = "proc-macro2", - srcs = glob(["vendor/proc-macro2-1.0.26/src/**"]), - visibility = ["PUBLIC"], + srcs = glob(["vendor/proc-macro2-1.0.28/src/**"]), + build_script = "vendor/proc-macro2-1.0.28/build.rs", features = [ "proc-macro", "span-locations", ], - rustc_flags = [ - "--cfg=span_locations", - "--cfg=use_proc_macro", - "--cfg=wrap_proc_macro", - ], + visibility = ["PUBLIC"], deps = [":unicode-xid"], ) rust_library( name = "quote", srcs = glob(["vendor/quote-1.0.9/src/**"]), - visibility = ["PUBLIC"], features = ["proc-macro"], + visibility = ["PUBLIC"], deps = [":proc-macro2"], ) @@ -72,8 +70,8 @@ rust_library( rust_library( name = "syn", - srcs = glob(["vendor/syn-1.0.68/src/**"]), - visibility = ["PUBLIC"], + srcs = glob(["vendor/syn-1.0.75/src/**"]), + build_script = "vendor/syn-1.0.75/build.rs", features = [ "clone-impls", "derive", @@ -82,6 +80,7 @@ rust_library( "printing", "proc-macro", ], + visibility = ["PUBLIC"], deps = [ ":proc-macro2", ":quote", @@ -107,5 +106,5 @@ rust_library( rust_library( name = "unicode-xid", - srcs = glob(["vendor/unicode-xid-0.2.1/src/**"]), + srcs = glob(["vendor/unicode-xid-0.2.2/src/**"]), ) |