just run twiggy top/twigger monos so the CI logs have the output
download the main branch's equivalent binary and run twiggy diff
use --format json -o $SOMEFILE and upload the file as an artifact
use the JSON output as an input to a test that asserts some basic properties of code size for crates in this repo (e.g. "each topo::call produces <=N bytes of optimized output")
Some options for progressively fancier setup:
twiggy top
/twigger monos
so the CI logs have the outputmain
branch's equivalent binary and runtwiggy diff
--format json -o $SOMEFILE
and upload the file as an artifactIdeally we can find out about the next instance of https://github.com/anp/moxie/issues/234 as it's happening, rather than much later :D.