Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not crash when rustfmt fails. #2511

Merged

Conversation

YoshikiTakashima
Copy link
Contributor

Description of changes:

Print warning instead of crashing when rustfmt crashes or is missing.

Resolved issues:

Resolves #1680

Call-outs:

Testing:

  • How is this change tested? tests/script-based-pre/playback_no_rustfmt.

  • Is this a refactor change? Nop

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@YoshikiTakashima YoshikiTakashima requested a review from a team as a code owner June 8, 2023 19:54
Copy link
Contributor

@jaisnan jaisnan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with the change!

@YoshikiTakashima YoshikiTakashima merged commit 8222ac6 into model-checking:main Jun 8, 2023
@YoshikiTakashima YoshikiTakashima deleted the yoshi-1680-no-rustfmt branch June 9, 2023 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Concrete playback panics if rustfmt fails (modifies source code anyway)
2 participants