Closed
Description
While working on reproducible builds for openSUSE, I found that
our yazi
25.2.11 package varied because the number of cores in the build-VM got recorded into the build result:
/usr/src/debug/yazi-25.2.11/target/release/build/rav1e-ded541fb470593d5/out/built.rs 2025-02-12 10:23:43.000000000 +0000
@@ -57,7 +57,7 @@
pub static OPT_LEVEL: &str = "3";
#[doc=r#"The parallelism that was specified during compilation."#]
#[allow(dead_code)]
-pub static NUM_JOBS: u32 = 4;
+pub static NUM_JOBS: u32 = 1;
What would be the best way to avoid that and is it possible to change behaviour so that it is reproducible if the $SOURCE_DATE_EPOCH
env var is set?
Metadata
Metadata
Assignees
Labels
No labels
Activity