wg icon indicating copy to clipboard operation
wg copied to clipboard

Ecosystem (crater) testing for core crates

Open ryankurte opened this issue 5 years ago • 4 comments

given we have a set of foundational crates depended on by practically the whole ecosystem (like https://github.com/rust-embedded/embedded-hal/), the risk of changes to these foundational crates causing large volumes of annoyance is pretty high.

it'd be awesome to have https://github.com/rust-lang/crater (or something like it) running over consumers of these crates so we can be informed of and mitigate the impacts of any necessary breakage.

possibly related to: https://github.com/rust-embedded/wg/issues/381

cc. @therealprof

ryankurte avatar Dec 03 '19 20:12 ryankurte

CC @pietroalbini

jamesmunns avatar Dec 03 '19 20:12 jamesmunns

Would you like just cross-compilation or also running tests?

pietroalbini avatar Dec 09 '19 08:12 pietroalbini

i think just cross compilation (including the test suite), afaik the issues we're looking to avoid are all around types and interfaces so should be p much (where things can compile for a given target) target independent, and shouldn't require test running.

ryankurte avatar Dec 10 '19 01:12 ryankurte

That should be possible, but I'm not sure how it's best to integrate it with Crater off the top of my head.

pietroalbini avatar Dec 10 '19 13:12 pietroalbini