Peter Jaszkowiak

Results 312 comments of Peter Jaszkowiak

It would be kinda weird if the `OnceCell` API is called `get` but the `LazyCell` API is named something different. I don't really see a problem with ```rust impl LazyLock...

Why is this unstable and what needs to be done to stabilize it? Any options that reduce unnecessary indentation are wonderful IMO

I should have looked around a bit more to save you the trouble, but thanks for answering! Considering the conditions: 1. Is the default value correct ? :no_entry_sign: 2. The...

This seems like a great application for arbitrary-bitwidth integers. Then the extracted mantissa and exponent can be exactly the precision encoded in the float.

Should this normalize all separators to `MAIN_SEPARATOR`?

One option would be to return `Result`. Returns `Ok(self)` if `setsid` is implemented on the platform, or `Err(self)` if it is not. Another option would be to provide a more...

Are there any drawbacks to always using `POSIX_SPAWN_SETSID` when available or is it purely beneficial?

I feel like it should be possible to do at compile time.

> We compile `std` with older system minimums -- glibc 2.17, macOS 10.7, etc. -- so we need runtime checks to see what's actually available. Ah, good point. At best,...

@cuviper Ah yeah makes sense. I misunderstood some context. I agree with the plan to have `setsid` use the flag if the flag can be guaranteed to work, otherwise fall...