Issue #3033: Compile-time option “one thread only”: the no representation for every value, also chosen by a target without threads

Open and answer this issue on GitHub.

async, note, future · opened 2026-12-01 · updated 2026-12-01 · 0 comments

Deferred by the owner’s decision on “Remove the switch user-parallelism: representation per value, single-thread variant at start” (#3027), 2026-12-01.

What

A compile-time option, “one thread only”, in the root project’s configuration. When it is on, the compiler knows that no value can cross a thread. Every value then gets today’s no representation (a plain count, RefCell, a Local lock), including values the program text would let cross, such as values handed to spawn.

Why later

Not part of it

Before building


Generated by Claude Code

Back to Open Issues