~/lightning

Tips for Speeding Up Cargo Build in CI

links:none on file
slides:none on file

CI for a tiny OS called Ginger OS focuses on getting system tests on micro‑VMs back faster by shaving cargo build into three parts: downloads, compilation/build scripts, and linking. Use cargo build --timings to spot slow crates, remove default features (one dependency falls 30s→15s), run clippy/build/test in one job to reuse artifacts, and cache dependencies plus compiler artifacts with sccache and carefully keyed GitHub Actions caches. Swapping linkers trims linking from 2s→1.5s.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.