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":"9c7104b0f223a6f10677e65c81b5a1534c17b26d934694ceb72f90b9230f9490","build.rs":"d1d816121af1bba70471e982bf98fa9cd2d8cf695d15d2837f592458410ff597","lib/libwindows.a":"83a2d602008ba00d73076c829c76102f9d33b47618cfc048d2dbf3dbda9baf18","src/lib.rs":"bdf6c7cf1fc01f69cc1d4e52948d1f246fdd310e6323d5dd1efd23f1daf382ef"},"package":"bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed"}

23
vendor/windows_x86_64_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_x86_64_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_x86_64_gnu/build.rs vendored Normal file
View file

@ -0,0 +1,10 @@
fn main() {
let target = std::env::var("TARGET").unwrap();
if target != "x86_64-pc-windows-gnu" && target != "x86_64-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());
}

Binary file not shown.

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

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