diff options
author | Thomas de Zeeuw <thomasdezeeuw@gmail.com> | 2021-03-27 11:01:16 +0100 |
---|---|---|
committer | Thomas de Zeeuw <thomasdezeeuw@gmail.com> | 2021-03-27 11:01:16 +0100 |
commit | 60112163ce6895e16b4ff1f70b7c9dda85f4b690 (patch) | |
tree | ca74ad8808a6ca3ae479bb09e515232f7e1a57c0 | |
parent | 0758ff06a0c8b27db023612d072bd006e0c61d0b (diff) | |
download | rust-libc-60112163ce6895e16b4ff1f70b7c9dda85f4b690.tar.gz |
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.
-rwxr-xr-x | libc-test/build.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 56e3f88c46..fe8572d971 100755 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -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); } } |