• SorteKanin@feddit.dkOP
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    dozens of GB of disk use by Rust

    I was well above 100GB the other day 😅. But I think there’s a problem with the setup as well

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      7 days ago

      I’ve been there. This is just on a small personal project I’m working on every so often. It’s a tauri app, so there are a fair amount of dependencies, but certainly not GBs per build.

      Ideally, cargo build could be configured to just take care of it. I really don’t need anything other than the most recent build per target, and I certainly don’t care about stuff from older compiler versions.

      cargo-sweep is nice and I use it (that’s how I fixed my CI/CD), but it’s a little annoying and I don’t think a lot of people use it, hence why I expected it to be higher.