brson / wasm-opt-rs

Rust bindings for Binaryen's wasm-opt
Apache License 2.0
64 stars 10 forks source link

Make cargo fmt CI job useful #100

Closed dtolnay closed 2 years ago

dtolnay commented 2 years ago

Previously it would only fail if rustfmt crashes on the code in this repo, which is not what I think it was intended to test. Using --check means the job will signal when the code being committed is not correctly formatted.

Separately I removed the git submodule update --init --recursive from the fmt job because it is unnecessary and slow.

brson commented 2 years ago

Thanks!