pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/sccache



>> sccache: updated to 0.20.0
> 
> I've been watching sccache updates in pkgsrc from a distance and it
> seems like active development.
> 
> I wonder if you or anyone else is using it, and would like to hear
> comments about the experience.   I would especially like to hear if
> anyone has integrated it into mk/compiler and used to cache rust builds.

Yes, I use it for every day work. Generally, it speeds up my Rust builds. Also, I am using one "target" dir for all projects.

Here's my setup, in ~/.cargo/config.toml:


[build]
rustc-wrapper = "/dist/pkg/bin/sccache"
target-dir = "/dist/cargo/target"

[profile.dev]
debug = "limited"
opt-level = 1
incremental = false
strip = "debuginfo"

[profile.dev.package."*"]
debug = "none"

[profile.release]
strip = "symbols"


Where /dist/pkg is my LOCALBASE.

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index