Skip to content

Commit

Permalink
add file sort to make build reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhdc authored Feb 6, 2024
1 parent 7c9a51f commit d9e3b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capstone-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fn build_capstone_cc() {
for arch_dir in find_arch_dirs().into_iter() {
files.append(&mut find_c_source_files(&arch_dir));
}

file.sort();
let use_static_crt = {
let target_features = env::var("CARGO_CFG_TARGET_FEATURE").unwrap_or_default();
target_features.split(',').any(|f| f == "crt-static")
Expand Down

0 comments on commit d9e3b40

Please sign in to comment.