svd2rust icon indicating copy to clipboard operation
svd2rust copied to clipboard

Decrease CI output verbosity

Open ryankurte opened this issue 6 years ago • 1 comments

Some tests with small errors fail with:

The job exceeded the maximum log length, and has been terminated. because the generated rust files are a single line, so the error trace is the entire generated file.

i think this could be remedied by adding a cargo fmt pass here, or by teaching svd2rust to format created files as part of the process.

ryankurte avatar May 09 '19 21:05 ryankurte

rustfmt was removed in #269 due to slow build time. I don't think it improved performance too much though. https://github.com/rust-embedded/svd2rust/pull/269#issuecomment-448166840_ is something I would like to see implemented however.

My suggestion would be to only format crates that fail (which can be done both in svd2rust-regress and the sh script).

Emilgardis avatar May 10 '19 01:05 Emilgardis