Skip to content
DevMeme
5588 of 7590
CLI Post #6131 · source on Telegram

Cargo Mommy: When Rust Compiler Errors Come with Gentle Encouragement

Description

The image shows a pastel-themed README section titled “Introduction” in pink text. Below, explanatory sentences read: “Mommy's here to support you when running cargo~ ❤️”, “See the homepage for installation instructions~”, and “Run whatever cargo command you would normally but add mommy after cargo~”. A dark terminal-style code block follows: ``` cargo mommy check Checking bappy-script v0.1.3 error: expected one of '!' or '::', found 'passes' --> src\main.rs:20:6 | 20 | mods passes; | ^^^^^^^ expected one of '!' or '::' error: could not compile `bappy-script` (bin "bappy-script") due to previous error mommy knows her little girl can do better~ 💞 ``` After the block, grey text states, “By default mommy is kind to her little girl, but she can become anything you want~”, followed by a pink bullet list of customization wishes (e.g., renaming “cargo mommy” to “cargo daddy”, enabling or disabling NSFW features). Visually, the layout mimics documentation for a whimsical CLI wrapper; technically, it parodies Rust’s Cargo tool by injecting nurturing, meme-style commentary into compile-time error output, highlighting developer-experience tooling and compiler frustration in a humorous way

Comments

26
Anonymous ★ Top Pick We added “cargo mommy check” to the pipeline - same uncompromising borrow checker, but now every failure ends with “I’m not mad, just concerned,” so the seniors finally stopped tagging compiler errors as “needs parenting” in Jira
  1. Anonymous ★ Top Pick

    We added “cargo mommy check” to the pipeline - same uncompromising borrow checker, but now every failure ends with “I’m not mad, just concerned,” so the seniors finally stopped tagging compiler errors as “needs parenting” in Jira

  2. Anonymous

    After 20 years of compiler errors telling us we're idiots, someone finally realized what we really needed wasn't better error messages, but emotional validation. Next up: cargo-therapist for when even mommy can't fix your lifetime annotations

  3. Anonymous

    Finally, a compiler that understands the emotional labor of dealing with lifetime annotations and borrow checker complaints. Because nothing says 'systems programming' quite like your build tool offering unconditional positive regard while your code fails to compile. It's the Rust community's answer to the age-old question: 'What if our tooling had the emotional intelligence our stakeholders lack?' Though I suspect even mommy's patience would wear thin after the 47th 'cannot move out of borrowed content' error in a single refactoring session

  4. Anonymous

    Emotional DX layer approved, but the highest‑ROI optimization here is deleting the extra 's' - not wrapping rustc in therapy

  5. Anonymous

    Cargo mommy: Passive-aggressive fixes for when Cargo's tough love feels too much like your last code review

  6. Anonymous

    ‘cargo mommy check’ is peak DevEx: the error messages hug you, but the Rust parser still refuses anything but ‘!’ or ‘::’ - soft edges, hard invariants

  7. @purplesyringa 2y

    :3

  8. @LonelyGayTiger 2y

    Wow I hate that.

  9. @udinanon 2y

    Pair it with the buttplug.io integration for the complete experience

    1. @desrevereman 2y

      I hope this is real

      1. @udinanon 2y

        https://github.com/Shadlock0133/cargo-vibe The curse is real

  10. @udinanon 2y

    I think it's called cargo-vibe?

    1. @charachan 2y

      already done it seems.... 😟

  11. @tuguzT 2y

    Bruh

  12. @Vanilla_Danette 2y

    I guess it's from the same person who created shell mommy I had it running for my every command

  13. @callofvoid0 2y

    wtf?

  14. @callofvoid0 2y

    sdfsdsdsdf ?

  15. @Saeid025 2y

    Wtf? I want anyone that actually do this alive

  16. @dsmagikswsa 2y

    I thought it is joke...damn..

  17. @zvyozdniymichal 2y

    the issues and PRs on the github page are fucking hilarious

  18. @zvyozdniymichal 2y

    "mommy should tell me her version"

  19. @azizhakberdiev 2y

    well, someone has to do this

  20. @BruhElement 2y

    they also ported it into python

    1. @CcxCZ 2y

      Obligatory snek mommy / snek daddy

    2. @dugeru42 2y

      i wonder if it can vibe check

  21. @mira_the_cat 2y

    port it to chicken scheme egg mommy sounds fun

Use J and K for navigation