1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/1109484
Last-Update: 2025-07-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/library/build.rs
+++ b/library/build.rs
@@ -183,6 +183,7 @@
}
fn collect_fixtures_for(suite: &str) -> Vec<String> {
+ let mut fixtures = Vec::new();
get_mf_fixture_dir_for(suite)
.read_dir()
.unwrap_or_else(|_| panic!("Couldn't find fixtures for testing '{}' support.", suite))
@@ -210,7 +211,7 @@
.unwrap_or_default();
let test_name = format!("{}/{}", suite, file_name);
- test_name
- })
- .collect()
+ fixtures.push(test_name)
+ });
+ return fixtures;
}
|