Rust-GPU / Rust-GPU/rust-gpu

`bitvec`'s `view_bits` on a slice causes an ICE

Open
#425 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3.4k
Forks
125
PR merge metrics
No merged PRs in 30d

Description

# Cargo.toml
spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu.git", rev = "f79c4181a5dc2d37303947b113f190930c6c1ce6" }
bitvec = { git = "https://github.com/uglyoldbob/bitvec.git", default-features = false }
let bits = [0 as u8];
&bits.view_bits::<Lsb0>();

rust-gpu-view-bits-rustc-ice-2025-10-03.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the ICE using the Cargo.toml dependencies and the Rust snippet in the issue, then read the linked rustc ICE report for the failing compiler path. Done means this bitvec view on a slice no longer causes an internal compiler error, with the reproducer verified against the pinned rust-gpu revision.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.