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":"00d46711214b33e76f5ea92d7207b8a36f3fcde57d3ee0be42d95e304b4c5821","build.rs":"f909646de7a03d6998bf644e9aea2b732c3f0705e24b296f78ff323d4bf74137","lib/libwindows.a":"f39df4f03f66297b8a436d8fcd4c7c80048b8d25d211bbeb18656d2fdb027d50","src/lib.rs":"bdf6c7cf1fc01f69cc1d4e52948d1f246fdd310e6323d5dd1efd23f1daf382ef"},"package":"09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028"}

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_gnullvm"
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_gnullvm/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-gnullvm" {
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.

View file

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