Home
last modified time | relevance | path

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

/linux-6.14.4/Documentation/rust/
Dquick-start.rst45 apt install rustc rust-src bindgen rustfmt rust-clippy
54 dnf install rust rust-src bindgen-cli rustfmt clippy
63 USE='rust-src rustfmt clippy' emerge dev-lang/rust dev-util/bindgen
76 nativeBuildInputs = with pkgs; [ rustc rust-bindgen rustfmt clippy ];
96 apt install rustc-1.80 rust-1.80-src bindgen-0.65 rustfmt-1.80 rust-1.80-clippy
223 rustfmt section in Requirements: Developing
226 The ``rustfmt`` tool is used to automatically format all the Rust kernel code,
234 rustup component add rustfmt
236 The standalone installers also come with ``rustfmt``.
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
/linux-6.14.4/Documentation/translations/zh_CN/rust/
Dcoding-guidelines.rst19 代码应该使用 ``rustfmt`` 进行格式化。这样一来,一个不时为内核做贡献的人就不需要再去学
23 .. note:: ``rustfmt`` 不检查注释和文档的约定。因此,这些仍然需要照顾到。
25 使用 ``rustfmt`` 的默认设置。这意味着遵循Rust的习惯性风格。例如,缩进时使用4个空格而
31 make LLVM=1 rustfmt
37 像内核其他部分的 ``clang-format`` 一样, ``rustfmt`` 在单个文件上工作,并且不需要
Dquick-start.rst126 rustfmt section in 开发依赖
129 ``rustfmt`` 工具被用来自动格式化所有的Rust内核代码,包括生成的C绑定(详情请见
135 rustup component add rustfmt
137 独立的安装程序也带有 ``rustfmt`` 。
/linux-6.14.4/drivers/gpu/drm/ci/
Dcontainer.yml63 rustfmt:
/linux-6.14.4/
D.gitignore115 !.rustfmt.toml
DMakefile301 outputmakefile rustavailable rustfmt rustfmtcheck
524 RUSTFMT = rustfmt macro
619 export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN
1699 @echo ' rustfmt - Reformat all the Rust code in the kernel'
1710 @echo ' Run with RUSTFMT=n to skip reformatting if needed.'
1815 PHONY += rustfmt rustfmtcheck
1817 rustfmt: target
1820 | xargs $(RUSTFMT) $(rustfmt_flags)
1823 rustfmtcheck: rustfmt
/linux-6.14.4/rust/kernel/
Ddevice_id.rs155 #[rustfmt::skip]
Derror.rs18 #[rustfmt::skip]
/linux-6.14.4/scripts/
DMakefile.build268 command -v $(RUSTFMT) >/dev/null && $(RUSTFMT) $@