Skip to content

Commit

Permalink
Support architecture environment specific semver lists
Browse files Browse the repository at this point in the history
This allow lists like "linux-gnu-x86_64" which is only used for Linux,
using GNU libc on 64 bit x86.
  • Loading branch information
Thomasdezeeuw authored and JohnTitor committed Apr 1, 2021
1 parent ab6a27b commit e9e9240
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ fn do_semver() {
if target_env != "" {
let os_env = format!("{}-{}", os, target_env);
process_semver_file(&mut output, &mut semver_root, &os_env);

let os_env_arch = format!("{}-{}-{}", os, target_env, arch);
process_semver_file(&mut output, &mut semver_root, &os_env_arch);
}
}

Expand Down

0 comments on commit e9e9240

Please sign in to comment.