mmastrac.bsky.social
@mmastrac.bsky.social
I did this on rust-ctor for a bit, but reverted to a stub proc macro that delegates to a real macro after a while. I think it's a worthwhile idea but the lack of a "cargo gen" command is what kills it IMO.
November 6, 2025 at 3:11 PM
I suspect I'll find a use for this. Nice crate!
November 5, 2025 at 3:24 PM
Sooooo long story short it was actually a bug in my 8051 emulator
November 1, 2025 at 3:24 PM
Ah! I misunderstood. Totally makes sense.

FWIW I think it would be awesome if rustdocs _could_ generate a stable JSON output format for other shenanigans, however. :)
October 31, 2025 at 2:21 PM
Isn't it just diagnostics though, not the actual rustdocs? IIRC there is at least one project out there that does codegen this way, but it slipped my mind, hah
October 31, 2025 at 5:42 AM
Good guess! You're right that it's a bit problem. It's somewhere in my emulator but I don't know for sure. I suspect there's something really weird about how bits are allocated to chars onscreen.
October 31, 2025 at 5:41 AM
The only syntax thing I dislike is shift operators alongside 'as' - gets kinda bracket heavy - but I grew to love the turbofish.
October 26, 2025 at 10:45 PM
Always
October 26, 2025 at 10:00 PM
I ported ctor over to a syn-free proc macro to do my part but I feel like that effort was just so, so painful.

Macros are in dire straits and really need a 2.0, even if the 2.0 isn't perfect.
October 19, 2025 at 4:27 AM
The saddest part of the whole story that's kind of glossed over is that all this drama is yet again because of the American Health Care System.
October 16, 2025 at 5:26 PM
A few years ago I additionally learned that `/usr/bin/time` is different from the bash builtin time. :/
October 16, 2025 at 5:22 PM