richard: hm is there an easy/bultin way to get test coverage stats out of a rust project?
richard (we're alreadying using [#test] and [cfg(test)] in gosling)
trinity: there is easy way and half builtin way but they are not the same. Cargo-tarpaulin would be the easy way, but has some limitations (can only compute coverage on tests, works only on linux x86_64). The half builtin way is by setting RUSTFLAGS="-C instrument-coverage", which instrument program so they generate raw coverage themselves (that's the builtin part), and process these files with something like grcov (that's the not builtin part). You
trinity: can take a look at arti maint/with_coverage, it's a script you put in front of a command to get a coverage report from the command