Support architecture environment specific semver lists

This allow lists like "linux-gnu-x86_64" which is only used for Linux,
using GNU libc on 64 bit x86.
This commit is contained in:
Thomas de Zeeuw 2021-03-27 11:01:16 +01:00
parent 0758ff06a0
commit 60112163ce
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}
}