|
|
@ -1,6 +1,6 @@
|
|
|
|
From 68404dcb073c4d9f5e7a515dcda38554dcc1b011 Mon Sep 17 00:00:00 2001
|
|
|
|
From 2fff0a56e8508e5c024bd2b0312cedae7da324f4 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Fabio Valentini <decathorpe@gmail.com>
|
|
|
|
From: Fabio Valentini <decathorpe@gmail.com>
|
|
|
|
Date: Sun, 7 Jul 2024 15:18:13 +0200
|
|
|
|
Date: Mon, 7 Oct 2024 18:22:28 +0200
|
|
|
|
Subject: [PATCH] unconditionally use bindgen and pkg-config to link against
|
|
|
|
Subject: [PATCH] unconditionally use bindgen and pkg-config to link against
|
|
|
|
system libzstd
|
|
|
|
system libzstd
|
|
|
|
|
|
|
|
|
|
|
@ -9,7 +9,7 @@ Subject: [PATCH] unconditionally use bindgen and pkg-config to link against
|
|
|
|
1 file changed, 3 insertions(+), 207 deletions(-)
|
|
|
|
1 file changed, 3 insertions(+), 207 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/build.rs b/build.rs
|
|
|
|
diff --git a/build.rs b/build.rs
|
|
|
|
index e03f354..2274c45 100644
|
|
|
|
index e578f60..2274c45 100644
|
|
|
|
--- a/build.rs
|
|
|
|
--- a/build.rs
|
|
|
|
+++ b/build.rs
|
|
|
|
+++ b/build.rs
|
|
|
|
@@ -1,8 +1,6 @@
|
|
|
|
@@ -1,8 +1,6 @@
|
|
|
@ -118,7 +118,7 @@ index e03f354..2274c45 100644
|
|
|
|
- // See: https://github.com/gyscos/zstd-rs/pull/209
|
|
|
|
- // See: https://github.com/gyscos/zstd-rs/pull/209
|
|
|
|
- let need_wasm_shim = !cfg!(feature = "no_wasm_shim")
|
|
|
|
- let need_wasm_shim = !cfg!(feature = "no_wasm_shim")
|
|
|
|
- && env::var("TARGET").map_or(false, |target| {
|
|
|
|
- && env::var("TARGET").map_or(false, |target| {
|
|
|
|
- target == "wasm32-unknown-unknown" || target == "wasm32-wasi"
|
|
|
|
- target == "wasm32-unknown-unknown" || target.starts_with("wasm32-wasi")
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- if need_wasm_shim {
|
|
|
|
- if need_wasm_shim {
|
|
|
@ -257,5 +257,5 @@ index e03f354..2274c45 100644
|
|
|
|
let includes: Vec<_> = headerpaths
|
|
|
|
let includes: Vec<_> = headerpaths
|
|
|
|
.iter()
|
|
|
|
.iter()
|
|
|
|
--
|
|
|
|
--
|
|
|
|
2.45.2
|
|
|
|
2.46.2
|
|
|
|
|
|
|
|
|
|
|
|