Vendor dependencies

Let's see how I like this workflow.
This commit is contained in:
John Doty 2022-12-19 08:27:18 -08:00
parent 34d1830413
commit 9c435dc440
7500 changed files with 1665121 additions and 99 deletions

View file

@ -0,0 +1 @@
{"files":{"Cargo.toml":"405b1cdc0c055002dc87524f5d3b73890236ea55b90da3c1e55f554bbe3bc5d0","build.rs":"000703af30e0803750ab7d9a087728f109f058144368e8f53532ddcae317ab73","lib/libwindows.a":"afe361a5834d46dfdd5d263cf244c1e2f6007e03314164375cb3ce909802ea52","src/lib.rs":"bdf6c7cf1fc01f69cc1d4e52948d1f246fdd310e6323d5dd1efd23f1daf382ef"},"package":"fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7"}

23
vendor/windows_i686_gnu/Cargo.toml vendored Normal file
View file

@ -0,0 +1,23 @@
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
name = "windows_i686_gnu"
version = "0.42.0"
authors = ["Microsoft"]
description = "Code gen support for the windows crate"
license = "MIT OR Apache-2.0"
repository = "https://github.com/microsoft/windows-rs"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = []

10
vendor/windows_i686_gnu/build.rs vendored Normal file
View file

@ -0,0 +1,10 @@
fn main() {
let target = std::env::var("TARGET").unwrap();
if target != "i686-pc-windows-gnu" && target != "i686-uwp-windows-gnu" {
return;
}
let dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
println!("cargo:rustc-link-search=native={}", std::path::Path::new(&dir).join("lib").display());
}

BIN
vendor/windows_i686_gnu/lib/libwindows.a vendored Normal file

Binary file not shown.

1
vendor/windows_i686_gnu/src/lib.rs vendored Normal file
View file

@ -0,0 +1 @@
#![no_std]