rust non-determinism
John Gilmore
gnu at toad.com
Sun Aug 4 16:42:23 UTC 2024
"Bernhard M. Wiedemann via rb-general" wrote:
> Via https://github.com/pop-os/launcher/issues/230
> I finally found one big clue that points to rust's default of
> codegen-units = 16 as the cause.
Should the Rust documentation be improved with a patch pointing out that
the default codegen-units setting mnakes the result not reproducible,
(and how to fix it)?
And should a bug be filed against Rustc that their compiler defaults to
irreproducible results, while its default should be reproducibility
rather than slightly faster compiler runtimes?
(They could fix it by making reproducible symbols even when codegen-units
is greater than 1, if they want both reproducibility and faster compiles.)
John
More information about the rb-general
mailing list