It would be a tremendous amount of work, and would take years. Meanwhile, the problems are avoidable. It's not exactly the "rust way" to just remember and avoid problems, but everything in language design is compromises.
> Why use Eyra? It fixes Rust's set_var unsoundness issue. The environment-variable implementation leaks memory internally (it is optional, but enabled by default), so setenv etc. are thread-safe.
IshKebab|1 year ago
https://github.com/sunfishcode/eyra
Oh look:
> Why use Eyra? It fixes Rust's set_var unsoundness issue. The environment-variable implementation leaks memory internally (it is optional, but enabled by default), so setenv etc. are thread-safe.
zanderwohl|1 year ago
Well, that's a lot of caveats. As I said, it would take years to complete. And it looks like it's well on its way but not near complete.
dvtkrlbs|1 year ago
kbolino|1 year ago
sunshowers|1 year ago