mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
Add lazy_static dep to cxx-build
This commit is contained in:
parent
de0c14d532
commit
4563fb1c74
1
BUCK
1
BUCK
@ -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
1
BUILD
@ -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",
|
||||
|
@ -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
1
third-party/BUCK
vendored
@ -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
1
third-party/BUILD
vendored
@ -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
1
third-party/Cargo.lock
generated
vendored
@ -79,6 +79,7 @@ dependencies = [
|
||||
"cc",
|
||||
"codespan-reporting",
|
||||
"cxx-gen",
|
||||
"lazy_static",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
|
Loading…
Reference in New Issue
Block a user