Searched full:rustfmt (Results 1 – 10 of 10) sorted by relevance
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 ];99 apt install rustc rust-src bindgen rustfmt rust-clippy115 apt install rustc-1.80 rust-1.80-src bindgen-0.65 rustfmt-1.80 \117 ln -s /usr/lib/rust-1.80/bin/rustfmt /usr/bin/rustfmt-1.80123 make LLVM=1 RUSTC=rustc-1.80 RUSTDOC=rustdoc-1.80 RUSTFMT=rustfmt-1.80 \261 rustfmt section in Requirements: Developing264 The ``rustfmt`` tool is used to automatically format all the Rust kernel code,[all …]
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
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`` 。
25 #[cfg_attr(not(kernel), rustfmt::skip)]
117 !.rustfmt.toml
298 outputmakefile rustavailable rustfmt rustfmtcheck526 RUSTFMT = rustfmt macro621 export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET RUSTC_OR_CLIPPY BINDGEN1706 @echo ' rustfmt - Reformat all the Rust code in the kernel'1717 @echo ' Run with RUSTFMT=n to skip reformatting if needed.'1822 PHONY += rustfmt rustfmtcheck1824 rustfmt: target1827 | xargs $(RUSTFMT) $(rustfmt_flags)1830 rustfmtcheck: rustfmt
155 #[rustfmt::skip]
18 #[rustfmt::skip]
357 command -v $(RUSTFMT) >/dev/null && $(RUSTFMT) $@