Rollup merge of #127964 - jieyouxu:rmake-rustfmt-skip, r=nnethercote
run_make_support: skip rustfmt for lib.rs To avoid them getting reordered once https://github.com/rust-lang/rust/pull/125443 goes through. r? ``@nnethercote`` (since you were working on this)
This commit is contained in:
commit
8963855ea1
@ -3,6 +3,10 @@
|
|||||||
//! notably is built via cargo: this means that if your test wants some non-trivial utility, such
|
//! notably is built via cargo: this means that if your test wants some non-trivial utility, such
|
||||||
//! as `object` or `wasmparser`, they can be re-exported and be made available through this library.
|
//! as `object` or `wasmparser`, they can be re-exported and be made available through this library.
|
||||||
|
|
||||||
|
// We want to control use declaration ordering and spacing (and preserve use group comments), so
|
||||||
|
// skip rustfmt on this file.
|
||||||
|
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
|
|
||||||
mod command;
|
mod command;
|
||||||
mod macros;
|
mod macros;
|
||||||
mod util;
|
mod util;
|
||||||
@ -18,6 +22,8 @@ pub mod scoped_run;
|
|||||||
pub mod string;
|
pub mod string;
|
||||||
pub mod targets;
|
pub mod targets;
|
||||||
|
|
||||||
|
// Internally we call our fs-related support module as `fs`, but re-export its content as `rfs`
|
||||||
|
// to tests to avoid colliding with commonly used `use std::fs;`.
|
||||||
mod fs;
|
mod fs;
|
||||||
|
|
||||||
/// [`std::fs`] wrappers and assorted filesystem-related helpers. Public to tests as `rfs` to not be
|
/// [`std::fs`] wrappers and assorted filesystem-related helpers. Public to tests as `rfs` to not be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user