2424 - stable
2525 - beta
2626 - nightly
27- # Introduction of self: Arc<..>, needed for the iterator module
28- - 1.36.0
29- # Introduction of non_exhaustive, used at certain exfiltrators
30- - 1.40.0
31- exclude :
32- # macos-latest is aarch64, old Rust doesn't know that target
33- - os : macos-latest
34- rust : 1.36.0
35- - os : macos-latest
36- rust : 1.40.0
27+ # Introduced the OwnedFd
28+ # (current MRSV)
29+ - 1.66.0
3730
3831 runs-on : ${{ matrix.os }}
3932
@@ -95,23 +88,26 @@ jobs:
9588 done
9689
9790 ancient-registry :
98- name : Check compilation of signal-hook-registry on 1.26.0
91+ name : Check compilation of signal-hook-registry on old compilers
9992 strategy :
10093 matrix :
10194 os :
10295 - ubuntu-latest
10396 - windows-latest
10497 # no macos-latest because that's aarch64 and old Rust lacks that target
10598 # no macos-15-intel because of weird linker errors
99+ rust :
100+ - 1.26.0
101+ - 1.31.0
106102 runs-on : ${{ matrix.os }}
107103 steps :
108104 - name : checkout
109105 uses : actions/checkout@v2
110106
111107 - name : Install Rust
112108 run : |
113- rustup toolchain install 1.26.0 --profile minimal
114- rustup default 1.26.0
109+ rustup toolchain add ${{ matrix.rust }} --profile minimal
110+ rustup default ${{ matrix.rust }}
115111
116112 - name : Check compilation
117113 run : |
@@ -122,34 +118,6 @@ jobs:
122118 sed -i -e 's/errno = ">=0.2, <0.4"/errno = "0.2"/' Cargo.toml
123119 cargo check
124120
125- ancient :
126- name : Check compilation on 1.31.0
127- strategy :
128- matrix :
129- os :
130- - ubuntu-latest
131- - windows-latest
132- # no macos-latest because that's aarch64 and old Rust lacks that target
133- # no macos-15-intel because of weird linker errors
134- runs-on : ${{ matrix.os }}
135- steps :
136- - name : checkout
137- uses : actions/checkout@v2
138-
139- - name : Install Rust
140- run : |
141- rustup toolchain update 1.31.0 --profile minimal
142- rustup default 1.31.0
143-
144- - name : Check compilation
145- run : |
146- rm Cargo.lock
147- sed -i -e 's/libc = "^0.2"/libc = "=0.2.156"/' Cargo.toml
148- sed -i -e 's/errno = ">=0.2, <0.4"/errno = "0.2"/' signal-hook-registry/Cargo.toml
149- cargo update
150- cargo check --no-default-features
151-
152-
153121 clippy :
154122 name : Clippy lints
155123 runs-on : ubuntu-latest
0 commit comments