chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a18ce
)
build.rs: Set --cfg=nix_ge_0_28
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 25 Feb 2024 02:16:07 +0000
(
02:16
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 25 Feb 2024 17:40:44 +0000
(17:40 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
build.rs
patch
|
blob
|
history
diff --git
a/build.rs
b/build.rs
index f3f2d9ae42f60bc4414c04a02057abd8aa63b796..64c2269f8137b9272cc412cb12e36e50647d048a 100644
(file)
--- a/
build.rs
+++ b/
build.rs
@@
-57,7
+57,7
@@
fn main(){
let nix = &nix.version;
let nix: semver::Version = nix.parse().expect(nix);
- for test in [">=0.27"] {
+ for test in [">=0.27"
, ">=0.28"
] {
let cfg = test.replace('.', "_").replace(">=", "ge_");
let test: semver::VersionReq = test.parse().unwrap();
if test.matches(&nix) {