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

Enforce rustfmt on CI #22126

Merged
merged 6 commits into from Nov 7, 2018
Merged

Enforce rustfmt on CI #22126

merged 6 commits into from Nov 7, 2018

Commits on Nov 6, 2018

  1. Run rustfmt on test-tidy

    Add ./mach fmt command.
    Mach installs rustfmt if needed.
    pyfisch committed Nov 6, 2018
  2. Format remaining files

    pyfisch committed Nov 6, 2018
  3. Manually format remaining problems

    Use line comments instead of block comments
    as block comments contain trailing whitespace
    after formatting with rustfmt.
    
    Skip tests for malloc_size_of and script_plugins
    with rustfmt as they have many block comments.
    pyfisch committed Nov 6, 2018
  4. Remove import order check from test-tidy

    Fix leaking file descriptor.
    pyfisch committed Nov 6, 2018
  5. Reorder imports

    pyfisch committed Nov 6, 2018

Commits on Nov 7, 2018

  1. Fix test-tidy self test

    Install rustup on first Travis job.
    Only use rustfmt::skip as an outer attribute.
    pyfisch committed Nov 7, 2018
You can’t perform that action at this time.