File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ jobs:
118118 cd signal-hook-registry
119119 sed -i -e '/signal-hook =/d' Cargo.toml
120120 sed -i -e 's/libc = "^0.2"/libc = "=0.2.156"/' Cargo.toml
121+ sed -i -e 's/errno = ">=0.2, <0.4"/errno = "0.2"/' Cargo.toml
121122 cargo check
122123
123124 ancient :
@@ -143,6 +144,7 @@ jobs:
143144 run : |
144145 rm Cargo.lock
145146 sed -i -e 's/libc = "^0.2"/libc = "=0.2.156"/' Cargo.toml
147+ sed -i -e 's/errno = ">=0.2, <0.4"/errno = "0.2"/' signal-hook-registry/Cargo.toml
146148 cargo update
147149 cargo check --no-default-features
148150
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ rm -f Cargo.lock
1212if [ " $RUST_VERSION " = 1.36.0 ] || [ " $RUST_VERSION " = 1.40.0 ] ; then
1313 sed -i -e ' s/libc = "^0.2"/libc = "=0.2.156"/' Cargo.toml
1414 sed -i -e ' s/cc = { version = "^1"/cc = { version = "=1.0.79"/' Cargo.toml
15+ sed -i -e ' s/errno = ">=0.2, <0.4"/errno = "0.2"/' signal-hook-registry/Cargo.toml
1516fi
1617
1718cargo build --all --exclude signal-hook-async-std --exclude signal-hook-tokio
You can’t perform that action at this time.
0 commit comments