File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,20 @@ jobs:
162
162
- name : Run tests without any features enabled (core-only)
163
163
run : cargo test --verbose --no-default-features
164
164
165
+ # This job uses a target to build the memchr crate on x86-64 but *without*
166
+ # SSE/AVX target features. This is relevant for virtually all OS kernels.
167
+ build-for-x86-64-but-non-sse-target :
168
+ runs-on : ubuntu-latest
169
+ steps :
170
+ - name : Checkout repository
171
+ uses : actions/checkout@v3
172
+ - name : Install Rust
173
+ uses : dtolnay/rust-toolchain@master
174
+ with :
175
+ toolchain : stable
176
+ targets : x86_64-unknown-none
177
+ - run : cargo build --verbose --no-default-features --features alloc --target x86_64-unknown-none
178
+
165
179
# This job runs a stripped down version of CI to test the MSRV. The specific
166
180
# reason for doing this is that dev-dependencies tend to evolve more quickly.
167
181
# There isn't as tight of a control on them because, well, they're only used
You can’t perform that action at this time.
0 commit comments