Enet4 / Enet4/dos-rs

It is unreliable to target i386

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
22
Forks
3
PR merge metrics
No merged PRs in 30d

Description

LLVM may emit `bswap` instructions in the binary even with the `-march i386` option, making it unreliable to use `i386-unknown-none-gnu` as an intermediate step. https://github.com/llvm/llvm-project/issues/58470

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the i386 build described in the issue and inspect the generated binary for bswap instructions. Read the linked LLVM issue to understand the compiler behavior and possible constraints. Done would require establishing a reliable intermediate-target approach or clearly documenting that this target cannot provide that guarantee.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.