1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

Add the 'dirs' crate, enable the required 'winapi' features

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2018-09-16 18:09:02 -07:00 committed by Bert Belder
parent ba8757b44a
commit 0185f9f9de
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
4 changed files with 22 additions and 2 deletions

View file

@ -48,6 +48,7 @@ main_extern = [
"$rust_build:tokio", "$rust_build:tokio",
"$rust_build:url", "$rust_build:url",
"$rust_build:remove_dir_all", "$rust_build:remove_dir_all",
"$rust_build:dirs",
"//build_extra/flatbuffers/rust:flatbuffers", "//build_extra/flatbuffers/rust:flatbuffers",
":msg_rs", ":msg_rs",
] ]

View file

@ -17,4 +17,4 @@ tokio = "0.1"
hyper = "0.12.8" hyper = "0.12.8"
hyper-rustls = "0.14.0" hyper-rustls = "0.14.0"
flatbuffers = { path = "third_party/flatbuffers/rust/flatbuffers/" } flatbuffers = { path = "third_party/flatbuffers/rust/flatbuffers/" }
dirs = "1.0.3"

View file

@ -103,6 +103,7 @@ rust_crate("winapi") {
"basetsd", "basetsd",
"cfg", "cfg",
"cfgmgr32", "cfgmgr32",
"combaseapi",
"errhandlingapi", "errhandlingapi",
"excpt", "excpt",
"fileapi", "fileapi",
@ -110,6 +111,7 @@ rust_crate("winapi") {
"handleapi", "handleapi",
"inaddr", "inaddr",
"in6addr", "in6addr",
"knownfolders",
"ktmtypes", "ktmtypes",
"libloaderapi", "libloaderapi",
"lsalookup", "lsalookup",
@ -119,15 +121,24 @@ rust_crate("winapi") {
"ntdef", "ntdef",
"ntsecapi", "ntsecapi",
"ntstatus", "ntstatus",
"objbase",
"objidl",
"objidlbase",
"processthreadsapi", "processthreadsapi",
"profileapi", "profileapi",
"propidl",
"qos", "qos",
"rpc",
"rpcdce",
"rpcndr", "rpcndr",
"shlobj",
"shtypes",
"sspi", "sspi",
"std", "std",
"subauth", "subauth",
"sysinfoapi", "sysinfoapi",
"timezoneapi", "timezoneapi",
"unknwnbase",
"vadefs", "vadefs",
"vcruntime", "vcruntime",
"winbase", "winbase",
@ -598,6 +609,14 @@ rust_crate("hyper_rustls") {
] ]
} }
rust_crate("dirs") {
source_root = "$registry_github/dirs-1.0.3/src/lib.rs"
extern = [
":libc",
":winapi",
]
}
ring_root = "$registry_github/ring-0.13.2/" ring_root = "$registry_github/ring-0.13.2/"
component("ring_primitives") { component("ring_primitives") {

@ -1 +1 @@
Subproject commit ff175a4d08d5d5154ca6313bac53540dda063fe3 Subproject commit 3e948f58ee654fdb2aa3898664962a52d648dc1a