Rediff patches
Add 0003-Use-mini-as-release-profile.patch: <REASON> Add 0001-Alter-blake3-to-emit-Built-Using-info.patch: <REASON> Add 0002-Use-pure-Rust-implementation-of-Blake3-parts.patch: <REASON>
This commit is contained in:
70
debian/patches/0001-Alter-blake3-to-emit-Built-Using-info.patch
vendored
Normal file
70
debian/patches/0001-Alter-blake3-to-emit-Built-Using-info.patch
vendored
Normal file
File diff suppressed because one or more lines are too long
28
debian/patches/0002-Use-pure-Rust-implementation-of-Blake3-parts.patch
vendored
Normal file
28
debian/patches/0002-Use-pure-Rust-implementation-of-Blake3-parts.patch
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
From: Robert Garrett <robertgarrett404@gmail.com>
|
||||||
|
Date: Fri, 26 Sep 2025 11:02:04 -0500
|
||||||
|
Subject: Use pure Rust implementation of Blake3 parts
|
||||||
|
|
||||||
|
I can't figure out how to get Debian's build system to tell the blake3
|
||||||
|
crate what CPU features are available. It's possible the answer is that
|
||||||
|
I'm not supposed to, or that I simply do not.
|
||||||
|
|
||||||
|
Rather than figure it out, I'll just avoid the question by not using
|
||||||
|
C, C++, or assembly through the conditional compilation systems.
|
||||||
|
---
|
||||||
|
Cargo.toml | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/Cargo.toml b/Cargo.toml
|
||||||
|
index fe0a0c2..60dd621 100644
|
||||||
|
--- a/Cargo.toml
|
||||||
|
+++ b/Cargo.toml
|
||||||
|
@@ -6,6 +6,9 @@ edition = "2024"
|
||||||
|
[dependencies]
|
||||||
|
bevy = "0.16.0"
|
||||||
|
|
||||||
|
+# Use pure-Rust impl. to dodge problems with CPU feature set availability.
|
||||||
|
+blake3 = { version = "1.8.2", features = ["pure"] }
|
||||||
|
+
|
||||||
|
# Grand-dependency pins
|
||||||
|
# ab_glyph = "0.2.16"
|
||||||
|
# fnv = "1.0.6"
|
||||||
25
debian/patches/0003-Use-mini-as-release-profile.patch
vendored
Normal file
25
debian/patches/0003-Use-mini-as-release-profile.patch
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
From: Robert Garrett <robertgarrett404@gmail.com>
|
||||||
|
Date: Sat, 27 Sep 2025 22:01:16 -0500
|
||||||
|
Subject: Use "mini" as "release" profile
|
||||||
|
|
||||||
|
---
|
||||||
|
Cargo.toml | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Cargo.toml b/Cargo.toml
|
||||||
|
index 60dd621..c7bcf17 100644
|
||||||
|
--- a/Cargo.toml
|
||||||
|
+++ b/Cargo.toml
|
||||||
|
@@ -36,8 +36,11 @@ opt-level = 1
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
-# codegen-units = 1
|
||||||
|
lto = "fat"
|
||||||
|
+opt-level = "z"
|
||||||
|
+codegen-units = 1
|
||||||
|
+strip = "symbols"
|
||||||
|
+panic = "abort"
|
||||||
|
|
||||||
|
[profile.mini]
|
||||||
|
inherits = "release"
|
||||||
3
debian/patches/series
vendored
Normal file
3
debian/patches/series
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
0001-Alter-blake3-to-emit-Built-Using-info.patch
|
||||||
|
0002-Use-pure-Rust-implementation-of-Blake3-parts.patch
|
||||||
|
0003-Use-mini-as-release-profile.patch
|
||||||
Reference in New Issue
Block a user