Josh Triplett

Results 576 comments of Josh Triplett

I'd love to have a well-documented way to construct bitflags in a constant. Right now, I use a macro wrapped around `TheBitflagsType::from_bits_truncate(TheBitflagsType::Flag1.bits() | TheBitflagsType::Flag2.bits() | ... )`.

I think there are three behaviors that could be useful, in different circumstances: 1) Stop at the first out-of-tree symlink and return it. 2) Treat the top-of-tree though it were...

I would be happy to use the odb directly for this case, if that helps.

@ajeetdsouza @daboross https://github.com/serde-rs/serde/pull/1888 should fix this.

rustc is using `tracing` these days, and as a result, `tracing` has gone through many optimizations. It seems like a good default.

Passing a buffer between modules would definitely require some sort of memory-to-memory copying, at least at the moment, since modules wouldn't share a linear memory. That's part of what interface...

I would love to make use of tempfile 3.4 (and thank you for working on it!). I have some changes in other crates that depend on the new APIs it...

`LD_PRELOAD` is an interesting trick, but one known not to work everywhere for this exact reason. I don't think you should force calls to go through libc just to allow...