Jacob Lifshay
Jacob Lifshay
> Attributes on _expressions_ always disallowed in stable Rust: https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=68a4651e5619d11dbfa62ff5f84af066 nit: they're allowed in the input to an attribute macro, as long as the macro doesn't have them in its...
> Would we have less bikeshedding over preferences if we call this "officially endorsed libraries" instead of "extended standard library"? > * that ESL is an official recommendation over non-ESL...
> It should be like this right ? > > ``` > buff_ptr[8] = (uint8)((ctx->cdp_hdr_seq >> 8) & 0xFF); > buff_ptr[9] = (uint8)(ctx->cdp_hdr_seq & 0xFF); > > ... > >...
> So are you working on it or waiting for approval ? no, I noticed it while working on the [new mcc muxer in ffmpeg](https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20024) and looking at what other...
> how does this interact with enum layout optimizations? can `Option` be represented in a single byte? that `i` is stored sign-extended to `i8` implies that, yes, `Option` can (but...
> So, it's slightly more complicated than that; -128i8 and -64i7 have the same bit pattern in memory: all ones. you need to check your math, `-1` has all ones,...
(replying to https://github.com/rust-lang/rfcs/pull/3686#discussion_r1787372929 here so it's less likely to get lost when that thread gets resolved) > How often do you need an array with one element per _bit_? when...
> We might want to consider the possibility of using the proposed mechanism for updatable crate metadata. That would allow updating this list without uploading a new version of the...
> > If that metadata is update-able, what happens when some popular crate's maintainer suddenly decides to go rogue and they replace the set of supported targets with `cfg(false)` or...
> Do we have any ideas on what name the new target should be? Currently it's `macros` but it may cause name collisions with `--document-private-items`. assuming you're talking about paths...