Home
last modified time | relevance | path

Searched full:rustfmt (Results 1 – 9 of 9) sorted by relevance

/linux/Documentation/rust/
H A Dcoding-guidelines.rst12 The code should be formatted using ``rustfmt``. In this way, a person
19 ``rustfmt``. Thus those are still needed to be taken care of.
21 The default settings of ``rustfmt`` are used. This means the idiomatic Rust
30 make LLVM=1 rustfmt
37 Like ``clang-format`` for the rest of the kernel, ``rustfmt`` works on
44 ``rustfmt``, by default, formats imports in a way that is prone to conflicts
78 ``rustfmt`` will actually reformat imports vertically when the empty comment is
80 expected style by running ``rustfmt`` on an input like:
112 Eventually, the goal is to get ``rustfmt`` to support this formatting style (or
/linux/rust/syn/
H A Dlib.rs555 #[rustfmt::skip] // https://github.com/rust-lang/rustfmt/issues/6176
639 #[rustfmt::skip]
758 #[rustfmt::skip]
852 #[rustfmt::skip]
856 #[rustfmt::skip]
860 #[rustfmt::skip]
864 #[rustfmt::skip]
868 #[rustfmt::skip]
H A Dcustom_punctuation.rs240 #[rustfmt::skip]
/linux/rust/pin-init/internal/src/
H A Dlib.rs
/linux/
H A DMakefile298 outputmakefile rustavailable rustfmt rustfmtcheck \
539 RUSTFMT = rustfmt macro
634 export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN LLVM_LINK
1827 @echo ' rustfmt - Reformat all the Rust code in the kernel'
1838 @echo ' Run with RUSTFMT=n to skip reformatting if needed.'
1949 PHONY += rustfmt rustfmtcheck
1951 rustfmt: target
1959 | xargs $(RUSTFMT) $(rustfmt_flags)
1962 rustfmtcheck: rustfmt
H A DMAINTAINERS23359 F: .rustfmt.toml
/linux/scripts/
H A DMakefile.build363 command -v $(RUSTFMT) >/dev/null && $(RUSTFMT) --config-path $(srctree)/.rustfmt.toml $@
/linux/rust/kernel/
H A Ddevice_id.rs196 #[rustfmt::skip]
H A Derror.rs20 #[rustfmt::skip]