Commit 583f758
committed
Fix no_std and cross-platform build failures
- Add conditional import of get_arch_ops (only for supported architectures)
- Remove feature = "std" guard from fusion module import (fusion works in no_std)
- Add missing has_crc and has_sse42 fields to ArchCapabilities in no_std feature detection
Fixes build failures for:
- PowerPC targets (software fallback)
- Embedded ARM targets (thumbv7em, thumbv8m, etc.)
- WASM targets (wasm32-unknown-unknown, wasm32-wasip1, wasm32-wasip2)1 parent ba21f5c commit 583f758
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| 230 | + | |
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
| |||
233 | 236 | | |
234 | 237 | | |
235 | 238 | | |
| 239 | + | |
236 | 240 | | |
237 | 241 | | |
| 242 | + | |
238 | 243 | | |
239 | 244 | | |
240 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments