Subject: nettle-sys: clear out "vendored" feature cruft from build.rs From: Daniel Kahn Gillmor's avatarDaniel Kahn Gillmor https://salsa.debian.org/rust-team/debcargo-conf/-/commit/0c71150ad26bb66a8396dcdab055181af232ddc5 https://sources.debian.org/src/rust-nettle-sys/2.0.4-3/debian/patches/disable-vendor.diff/ --- a/Cargo.toml 2019-10-23 13:08:07.000000000 -0400 +++ b/Cargo.toml 2019-10-23 14:08:46.644064014 -0400 @@ -29,12 +29,9 @@ version = "0.51.1" default-features = false -[build-dependencies.nettle-src] -version = "3.5.1-0" -optional = true - [build-dependencies.pkg-config] version = "0.3" [features] vendored = ["nettle-src"] +nettle-src = [] diff --git a/build.rs b/build.rs index 44f7af3..ede4b2f 100644 --- a/build.rs +++ b/build.rs @@ -1,7 +1,5 @@ extern crate bindgen; extern crate pkg_config; -#[cfg(feature = "vendored")] -extern crate nettle_src; use std::env; use std::fs; @@ -36,14 +34,6 @@ fn main() { println!("cargo:rerun-if-env-changed=NETTLE_STATIC"); println!("cargo:rerun-if-env-changed={}", NETTLE_PREGENERATED_BINDINGS); - #[cfg(feature = "vendored")] - { - let artifacts = nettle_src::Build::new().build(); - println!("cargo:vendored=1"); - env::set_var("PKG_CONFIG_PATH", - artifacts.lib_dir().join("pkgconfig")); - } - let nettle = pkg_config::probe_library("nettle hogweed").unwrap(); let mode = match env::var_os("NETTLE_STATIC") { lass='form'>
path: root/tests/syscalls.scm
AgeCommit message (Expand)Author
2021-02-25syscalls: Add 'mounts' and the <mount> record type....* guix/build/syscalls.scm (<mount>): New record type. (option-string->mount-flags, mount-flags) (octal-decode, mounts): New procedures. (mount-points): Rewrite in terms of 'mount'. * tests/syscalls.scm ("mounts"): New test. Ludovic Courtès
2020-06-28tests: Do not fail when network interface aliases are present....Fixes <https://bugs.gnu.org/42111>. * tests/syscalls.scm ("network-interface-names"): Filter interface names with a colon. Marius Bakke
2020-06-05tests: syscall: Support file-systems without extended attributes....* tests/syscalls.scm (setxattr): Catch ENOTSUP that can be raised if the file-system does not support extended user attributes. Mathieu Othacehe
2020-06-02tests: Allow passing on systems without support for swap devices....* tests/syscalls.scm ("swapon", "swapoff"): Accept ENOSYS as a valid result. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Simon South
2020-05-14syscalls: Add 'getxattr'....* guix/build/syscalls.scm (getxattr): New procedure. * tests/syscalls.scm ("getxattr, setxattr"): Test it, together with setxattr. Jan (janneke) Nieuwenhuizen
2020-02-11syscalls: Re-enable 'pivot-root' test....Fixes <https://bugs.gnu.org/25476>. Reported by Paul Garlick <pgarlick@tourbillion-technology.com>. * tests/syscalls.scm ("pivot-root"): Skip only when PERFORM-CONTAINER-TESTS? is true. Rewrite to use a socket pair instead of a pipe. Synchronize parent and child so that the parent can initialize the child's UID and GID mappings before continuing. Ludovic Courtès
2019-10-05syscalls: Add 'add-to-entropy-count'....* guix/build/syscalls.scm (RNDADDTOENTCNT): New variable. (add-to-entropy-count): New procedure. * tests/syscalls.scm ("add-to-entropy-count"): New test. Ludovic Courtès
2019-06-27syscalls: Add 'terminal-rows'....* guix/build/syscalls.scm (terminal-dimension): New procedure. (terminal-columns): Rewrite in terms of 'terminal-dimension'. (terminal-rows): New procedure. * tests/syscalls.scm ("terminal-rows"): New test. Ludovic Courtès