because nobody should have to see rust on their systems :)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bronze 0ec69e49d9 Update '' 2 years ago
package.accept_keywords first commit 2 years ago
package.mask first commit 2 years ago
package.use first commit 2 years ago Update '' 2 years ago Update '' 2 years ago

Rust-oleum: Rust Removal and Prevention (Gentoo)

Because nobody should have rust on their system

(not affiliated with the actual rustoleum product)

This repo contains mask, use and accept files for portage to keep Rust away from your systems.

I don't like how people are forcing this language and I certainly don't like the so called "people" that use it. No I will not elaborate any further.

The files are pretty self explanatory by themselves but I'll go over some specifics:


  • critical (?) system component using spidermonkey as its js engine
    • yes it has a javascript engine, wtf right :/
  • spidermonkey is a fuckhuge dependency for something like this
  • spidermonkey versions past 78 all require rust to build
    • it is a mozilla project after all
  • polkit, which depends on spidermonkey, also depends on rust by proxy

how to mitigate

  • compile polkit with duktape instead of spidermonkey for its js engine
    • duktape is much smaller than spidermonkey
  • polkit w/ duktape hasn't been mainstreamed yet, but patches are available
    • add the miramir overlay and then enable the duktape use flag for polkit
    • I might host the duktape patched ebuilds myself at some point


  • gnome project (god what the fuck)
  • head dev = rustification freak
  • used by literally anything that requires svg support
    • seriously, try masking this package outright and see how many packages really depend on this (spoiler: a fucking insane amount)
  • newer versions are fully made in rust

how to mitigate

  • 2.40 is the last version before rustification
  • still hosted at ::gentoo
    • who knows how long that will last...
    • will probably have to host the ebuild for this at some point
  • mask librsvg versions later than 2.40 (or rather anything after 2.41)
  • explicitly enable version 2.40