Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/rust/
H A Dquick-start.rst48 apt install rustc rust-src bindgen rustfmt rust-clippy
56 dnf install rust rust-src bindgen-cli rustfmt clippy
65 USE='rust-src rustfmt clippy' emerge dev-lang/rust dev-util/bindgen
77 nativeBuildInputs = with pkgs; [ rustc rust-bindgen rustfmt clippy ];
97 apt install rustc rust-src bindgen rustfmt rust-clippy
112 apt install rustc-1.85 rust-1.85-src bindgen-0.71 rustfmt-1.85 \
114 ln -s /usr/lib/rust-1.85/bin/rustfmt /usr/bin/rustfmt-1.85
119 make LLVM=1 RUSTC=rustc-1.85 RUSTDOC=rustdoc-1.85 RUSTFMT=rustfmt-1.85 \
242 rustfmt section in 开发依赖
245 ``rustfmt`` 工具被用来自动格式化所有的Rust内核代码,包括生成的C绑定(详情请见
[all …]
/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 DMakefile300 outputmakefile rustavailable rustfmt rustfmtcheck \
551 RUSTFMT = rustfmt macro
647 export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN LLVM_LINK
1876 @echo ' rustfmt - Reformat all the Rust code in the kernel'
1887 @echo ' Run with RUSTFMT=n to skip reformatting if needed.'
1999 PHONY += rustfmt rustfmtcheck
2001 rustfmt: target
2011 | xargs $(RUSTFMT) $(rustfmt_flags)
2014 rustfmtcheck: rustfmt
H A DMAINTAINERS23871 F: .rustfmt.toml
/linux/scripts/
H A DMakefile.build365 command -v $(RUSTFMT) >/dev/null && $(RUSTFMT) --config-path $(srctree)/.rustfmt.toml $@
/linux/rust/kernel/
H A Ddevice_id.rs
H A Derror.rs20 #[rustfmt::skip]
/linux/rust/zerocopy/src/
H A Dimpls.rs1321 #[rustfmt::skip]
2208 #[rustfmt::skip] in test_impls()
2215 #[rustfmt::skip] in test_impls()
2377 #[rustfmt::skip] in test_impls()
H A Dlib.rs1102 #[rustfmt::skip]
1110 #[rustfmt::skip]
1118 #[rustfmt::skip]
/linux/rust/zerocopy/src/util/
H A Dmacro_util.rs598 #[rustfmt::skip] in try_transmute_ref()
660 #[rustfmt::skip] in try_transmute_mut()
H A Dmacros.rs875 #[rustfmt::skip]
/linux/rust/zerocopy/src/pointer/
H A Dptr.rs943 #[rustfmt::skip] in try_with_unchecked()