Searched refs:rustfmt (Results 1 – 7 of 7) sorted by relevance
19 代码应该使用 ``rustfmt`` 进行格式化。这样一来,一个不时为内核做贡献的人就不需要再去学23 .. note:: ``rustfmt`` 不检查注释和文档的约定。因此,这些仍然需要照顾到。25 使用 ``rustfmt`` 的默认设置。这意味着遵循Rust的习惯性风格。例如,缩进时使用4个空格而31 make LLVM=1 rustfmt37 像内核其他部分的 ``clang-format`` 一样, ``rustfmt`` 在单个文件上工作,并且不需要
126 rustfmt section in 开发依赖129 ``rustfmt`` 工具被用来自动格式化所有的Rust内核代码,包括生成的C绑定(详情请见135 rustup component add rustfmt137 独立的安装程序也带有 ``rustfmt`` 。
45 apt install rustc rust-src bindgen rustfmt rust-clippy54 dnf install rust rust-src bindgen-cli rustfmt clippy63 USE='rust-src rustfmt clippy' emerge dev-lang/rust dev-util/bindgen76 nativeBuildInputs = with pkgs; [ rustc rust-bindgen rustfmt clippy ];206 rustfmt section in Requirements: Developing209 The ``rustfmt`` tool is used to automatically format all the Rust kernel code,217 rustup component add rustfmt219 The standalone installers also come with ``rustfmt``.
12 The code should be formatted using ``rustfmt``. In this way, a person19 ``rustfmt``. Thus those are still needed to be taken care of.21 The default settings of ``rustfmt`` are used. This means the idiomatic Rust30 make LLVM=1 rustfmt37 Like ``clang-format`` for the rest of the kernel, ``rustfmt`` works on
113 !.rustfmt.toml
276 outputmakefile rustavailable rustfmt rustfmtcheck494 RUSTFMT = rustfmt1744 PHONY += rustfmt rustfmtcheck1751 rustfmt: target1761 rustfmtcheck: rustfmt
16 #[rustfmt::skip]