Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit 6b72894

Browse files
committed
Add winapi-0.3.9
Signed-off-by: Eli Ma <eli@patch.sh>
1 parent 4e37447 commit 6b72894

File tree

414 files changed

+181411
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+181411
-0
lines changed

BUCK

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ cargo.rust_binary(
1818
"//third-party/rust/crates/windows_aarch64_gnullvm/0.53.0:windows_aarch64_gnullvm",
1919
"//third-party/rust/crates/winapi-i686-pc-windows-gnu/0.4.0:winapi-i686-pc-windows-gnu",
2020
"//third-party/rust/crates/winapi-x86_64-pc-windows-gnu/0.4.0:winapi-x86_64-pc-windows-gnu",
21+
"//third-party/rust/crates/winapi/0.3.9:winapi", # --config rust.features=everything,impl-debug,impl-default --config rust.target=i686-pc-windows-gnu
2122
# ---
2223

2324
# autocfg
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"git": {
3+
"sha1": "796a8e6c2971dc2ff1bcff166e6671284f9b5b6b"
4+
}
5+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
load("@prelude//toolchains:rust.bzl", "system_rust_toolchain")
2+
load("//third-party/rust/crates/winapi/0.3.9:build.bzl", "get_rust_features", "get_target_deps", "get_winapi_env")
3+
4+
rust_library(
5+
name = "winapi",
6+
edition = "2015",
7+
srcs = glob(["src/**/*.rs"]),
8+
crate_root = "src/lib.rs",
9+
features = get_rust_features(),
10+
rustc_flags = [],
11+
env = get_winapi_env(),
12+
deps = get_target_deps(),
13+
visibility = ["PUBLIC"],
14+
)

0 commit comments

Comments
 (0)