|
46 | 46 | matrix:
|
47 | 47 | # See `INTERNAL.md` for an explanation of these pinned toolchain
|
48 | 48 | # versions.
|
49 |
| - toolchain: [ "msrv", "stable", "nightly", "zerocopy-generic-bounds-in-const-fn", "zerocopy-aarch64-simd", "zerocopy-panic-in-const", ] |
| 49 | + toolchain: [ |
| 50 | + "msrv", |
| 51 | + "stable", |
| 52 | + "nightly", |
| 53 | + |
| 54 | + # These are the names of specific Rust versions detected in |
| 55 | + # `build.rs`. Each of these represents the minimum Rust version for |
| 56 | + # which a particular feature is supported. |
| 57 | + "zerocopy-generic-bounds-in-const-fn", |
| 58 | + "zerocopy-aarch64-simd", |
| 59 | + "zerocopy-panic-in-const" |
| 60 | + ] |
50 | 61 | target: [
|
51 | 62 | "i686-unknown-linux-gnu",
|
52 | 63 | "x86_64-unknown-linux-gnu",
|
|
59 | 70 | "x86_64-pc-windows-msvc",
|
60 | 71 | "wasm32-wasi"
|
61 | 72 | ]
|
62 |
| - features: [ "--no-default-features", "", "--features __internal_use_only_features_that_work_on_stable", "--all-features" ] |
| 73 | + features: [ |
| 74 | + "--no-default-features", |
| 75 | + "", |
| 76 | + "--features __internal_use_only_features_that_work_on_stable", |
| 77 | + "--all-features" |
| 78 | + ] |
63 | 79 | crate: [ "zerocopy", "zerocopy-derive" ]
|
64 | 80 | event_name: [ "${{ github.event_name }}" ]
|
65 | 81 | exclude:
|
@@ -93,6 +109,46 @@ jobs:
|
93 | 109 | toolchain: "zerocopy-aarch64-simd"
|
94 | 110 | - crate: "zerocopy-derive"
|
95 | 111 | toolchain: "zerocopy-panic-in-const"
|
| 112 | + # Exclude non-aarch64 targets from the `zerocopy-aarch64-simd` |
| 113 | + # toolchain. |
| 114 | + - toolchain: "zerocopy-aarch64-simd" |
| 115 | + target: "i686-unknown-linux-gnu" |
| 116 | + - toolchain: "zerocopy-aarch64-simd" |
| 117 | + target: "x86_64-unknown-linux-gnu" |
| 118 | + - toolchain: "zerocopy-aarch64-simd" |
| 119 | + target: "arm-unknown-linux-gnueabi" |
| 120 | + - toolchain: "zerocopy-aarch64-simd" |
| 121 | + target: "powerpc-unknown-linux-gnu" |
| 122 | + - toolchain: "zerocopy-aarch64-simd" |
| 123 | + target: "powerpc64-unknown-linux-gnu" |
| 124 | + - toolchain: "zerocopy-aarch64-simd" |
| 125 | + target: "riscv64gc-unknown-linux-gnu" |
| 126 | + - toolchain: "zerocopy-aarch64-simd" |
| 127 | + target: "s390x-unknown-linux-gnu" |
| 128 | + - toolchain: "zerocopy-aarch64-simd" |
| 129 | + target: "x86_64-pc-windows-msvc" |
| 130 | + - toolchain: "zerocopy-aarch64-simd" |
| 131 | + target: "wasm32-wasi" |
| 132 | + # Exclude most targets targets from the |
| 133 | + # `zerocopy-generic-bounds-in-const-fn` toolchain since the |
| 134 | + # `zerocopy-generic-bounds-in-const-fn` feature is unrelated to |
| 135 | + # compilation target. This only leaves i686 and x86_64 targets. |
| 136 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 137 | + target: "arm-unknown-linux-gnueabi" |
| 138 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 139 | + target: "aarch64-unknown-linux-gnu" |
| 140 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 141 | + target: "powerpc-unknown-linux-gnu" |
| 142 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 143 | + target: "powerpc64-unknown-linux-gnu" |
| 144 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 145 | + target: "riscv64gc-unknown-linux-gnu" |
| 146 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 147 | + target: "s390x-unknown-linux-gnu" |
| 148 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 149 | + target: "x86_64-pc-windows-msvc" |
| 150 | + - toolchain: "zerocopy-generic-bounds-in-const-fn" |
| 151 | + target: "wasm32-wasi" |
96 | 152 | # Exclude most targets during PR development, but allow them in the
|
97 | 153 | # merge queue. This speeds up our development flow, while still
|
98 | 154 | # ensuring that errors on these targets are caught before a PR is
|
|
0 commit comments