Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
1
vendor/errno-dragonfly/.cargo-checksum.json
vendored
Normal file
1
vendor/errno-dragonfly/.cargo-checksum.json
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"files":{"Cargo.toml":"36cf2ca7d85e09d22a7dd384f95c51eb6a7f1a6234d3c54d251dfa575b990430","LICENSE":"e5b1e4fcd8ea2b20b09f378e44ef3f51f4b6a72a72b9f6a729e0f87bddcef97f","README.md":"1e8440a65b6befd65a507b60fb11ab29f314dd77012aa7a11b5d1fadbb5f908f","build.rs":"10d4f05ac56556fea0e98732dc4250ddf3f1acc3fea541c63a0bc130aca772e6","src/errno.c":"a857e47b114acb85fddcb252a610ab5734d225c26b7bedd7c35d7789d46c8526","src/lib.rs":"47245dcfc2d5797584444e70edb1997b2f5e39ecc0779599a7fcded379966c0f"},"package":"aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"}
|
||||
27
vendor/errno-dragonfly/Cargo.toml
vendored
Normal file
27
vendor/errno-dragonfly/Cargo.toml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# 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 believe there's an error in this file please file an
|
||||
# issue against the rust-lang/cargo repository. If you're
|
||||
# editing this file be aware that the upstream Cargo.toml
|
||||
# will likely look very different (and much more reasonable)
|
||||
|
||||
[package]
|
||||
edition = "2018"
|
||||
name = "errno-dragonfly"
|
||||
version = "0.1.2"
|
||||
authors = ["Michael Neumann <mneumann@ntecs.de>"]
|
||||
include = ["Cargo.toml", "LICENSE", "README.md", "build.rs", "src/lib.rs", "src/errno.c"]
|
||||
description = "Exposes errno functionality to stable Rust on DragonFlyBSD"
|
||||
keywords = ["dragonfly"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/mneumann/errno-dragonfly-rs"
|
||||
[dependencies.libc]
|
||||
version = "0.2"
|
||||
default-features = false
|
||||
[build-dependencies.cc]
|
||||
version = "1.0"
|
||||
21
vendor/errno-dragonfly/LICENSE
vendored
Normal file
21
vendor/errno-dragonfly/LICENSE
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2017 Michael Neumann
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
3
vendor/errno-dragonfly/README.md
vendored
Normal file
3
vendor/errno-dragonfly/README.md
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# errno-dragonfly-rs
|
||||
|
||||
Exposing `errno` functionality to stable Rust on DragonFly BSD.
|
||||
3
vendor/errno-dragonfly/build.rs
vendored
Normal file
3
vendor/errno-dragonfly/build.rs
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
cc::Build::new().file("src/errno.c").compile("liberrno.a");
|
||||
}
|
||||
3
vendor/errno-dragonfly/src/errno.c
vendored
Normal file
3
vendor/errno-dragonfly/src/errno.c
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#include <errno.h>
|
||||
|
||||
int *errno_location() { return &errno; }
|
||||
6
vendor/errno-dragonfly/src/lib.rs
vendored
Normal file
6
vendor/errno-dragonfly/src/lib.rs
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#![no_std]
|
||||
|
||||
#[link(name = "errno", kind = "static")]
|
||||
extern "C" {
|
||||
pub fn errno_location() -> *mut libc::c_int;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue