cloudwego / cloudwego/sonic-rs

Build fails on i386: could not find `x86_64` in `arch`

Open
#231 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.