cloudwego / cloudwego/sonic-rs
Build fails on i386: could not find `x86_64` in `arch`
- Dominant language
- Rust
- Stars
- 920
- Forks
- 68
- Avg merge
- 2h 5m
- Merged PRs (30d)
- 1
Description
```
error[E0432]: unresolved import `core::arch::x86_64`
--> /wrkdirs/usr/ports/databases/iceberg-rust/work/iceberg-rust-0.9.1/cargo-crates/sonic-simd-0.1.3/src/sse2.rs:2:11
|
2 | arch::x86_64::*,
| ^^^^^^ could not find `x86_64` in `arch`
```
[log](https://pkg-status.freebsd.org/beefy19/data/144i386-quarterly/9d25c757e0f7/logs/apache-iceberg-rust-0.9.1.log)
Contributor guide
Research direction
Start with the linked FreeBSD i386 build log and cargo-crates/sonic-simd-0.1.3/src/sse2.rs, where the unresolved core::arch::x86_64 import is reported. Determine the appropriate i386 build behavior from the surrounding crate configuration. Done means the apache-iceberg-rust build completes on i386 without this unresolved import.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, operating-systems, performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100