After installing sccache, drop this file in ~/.config/systemd/user/, then:
systemctl --user daemon-reload
systemctl enable --now sccache| [Install] | |
| WantedBy=default.target | |
| [Service] | |
| Type=forking | |
| ExecStart=%h/.cargo/bin/sccache --start-server | |
| ExecStop=%h/.cargo/bin/sccache --stop-server |