Add lazy_static dep to cxx-build

This commit is contained in:
David Tolnay 2020-10-08 16:43:19 -07:00
parent de0c14d532
commit 4563fb1c74
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
6 changed files with 6 additions and 0 deletions

1
BUCK
View File

@ -53,6 +53,7 @@ rust_library(
deps = [
"//third-party:cc",
"//third-party:codespan-reporting",
"//third-party:lazy_static",
"//third-party:proc-macro2",
"//third-party:quote",
"//third-party:syn",

1
BUILD
View File

@ -59,6 +59,7 @@ rust_library(
deps = [
"//third-party:cc",
"//third-party:codespan-reporting",
"//third-party:lazy_static",
"//third-party:proc-macro2",
"//third-party:quote",
"//third-party:syn",

View File

@ -13,6 +13,7 @@ categories = ["development-tools::ffi"]
[dependencies]
cc = "1.0.49"
codespan-reporting = "0.9"
lazy_static = "1.4"
proc-macro2 = { version = "1.0.17", default-features = false, features = ["span-locations"] }
quote = { version = "1.0", default-features = false }
syn = { version = "1.0.20", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }

1
third-party/BUCK vendored
View File

@ -36,6 +36,7 @@ rust_library(
rust_library(
name = "lazy_static",
srcs = glob(["vendor/lazy_static-1.4.0/src/**"]),
visibility = ["PUBLIC"],
)
rust_library(

1
third-party/BUILD vendored
View File

@ -41,6 +41,7 @@ rust_library(
rust_library(
name = "lazy_static",
srcs = glob(["vendor/lazy_static-1.4.0/src/**"]),
visibility = ["//visibility:public"],
)
rust_library(

1
third-party/Cargo.lock generated vendored
View File

@ -79,6 +79,7 @@ dependencies = [
"cc",
"codespan-reporting",
"cxx-gen",
"lazy_static",
"proc-macro2",
"quote",
"syn",