Searched refs:rustfmt (Results 1 – 18 of 18) sorted by relevance
/openbmc/linux/Documentation/translations/zh_CN/rust/ |
H A D | coding-guidelines.rst | 19 代码应该使用 ``rustfmt`` 进行格式化。这样一来,一个不时为内核做贡献的人就不需要再去学 23 .. note:: ``rustfmt`` 不检查注释和文档的约定。因此,这些仍然需要照顾到。 25 使用 ``rustfmt`` 的默认设置。这意味着遵循Rust的习惯性风格。例如,缩进时使用4个空格而 31 make LLVM=1 rustfmt 37 像内核其他部分的 ``clang-format`` 一样, ``rustfmt`` 在单个文件上工作,并且不需要
|
H A D | quick-start.rst | 106 rustfmt section in 开发依赖 109 ``rustfmt`` 工具被用来自动格式化所有的Rust内核代码,包括生成的C绑定(详情请见 115 rustup component add rustfmt 117 独立的安装程序也带有 ``rustfmt`` 。
|
/openbmc/openbmc/poky/meta/recipes-devtools/rust/ |
H A D | rust_1.80.1.bb | 238 PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt" 241 FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt" 244 RDEPENDS:${PN}-tools-rustfmt = "${PN}" 247 SUMMARY:${PN}-tools-rustfmt = "A tool for formatting Rust code according to style guidelines" 261 rust_runx install rustfmt 265 for i in cargo-clippy clippy-driver rustfmt; do 276 EXTRA_TOOLS ?= "cargo-clippy clippy-driver rustfmt" 281 rust_runx install rustfmt
|
/openbmc/linux/Documentation/rust/ |
H A D | coding-guidelines.rst | 12 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
|
H A D | quick-start.rst | 131 rustfmt section in Requirements: Developing 134 The ``rustfmt`` tool is used to automatically format all the Rust kernel code, 142 rustup component add rustfmt 144 The standalone installers also come with ``rustfmt``.
|
/openbmc/openbmc/poky/meta/recipes-core/packagegroups/ |
H A D | packagegroup-rust-cross-canadian.bb | 19 nativesdk-rust-tools-rustfmt \
|
/openbmc/qemu/rust/qemu-api-macros/src/ |
H A D | lib.rs | 69 #[rustfmt::skip::macros(quote)]
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | lib.rs | 22 #[rustfmt::skip]
|
/openbmc/linux/ |
H A D | .gitignore | 105 !.rustfmt.toml
|
H A D | Makefile | 279 outputmakefile rustavailable rustfmt rustfmtcheck 503 RUSTFMT = rustfmt 1615 @echo ' rustfmt - Reformat all the Rust code in the kernel' 1729 PHONY += rustfmt rustfmtcheck 1736 rustfmt: target 1746 rustfmtcheck: rustfmt
|
H A D | opengrok0.0.log | [all...] |
/openbmc/linux/rust/kernel/ |
H A D | error.rs | 20 #[rustfmt::skip]
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | release-notes-4.1.1.rst | 174 - rust: install rustfmt for riscv32 as well
|
H A D | migration-4.0.rst | 135 - ``rustfmt``: not especially useful as a standalone recipe
|
H A D | release-notes-3.4.rst | 13 …oss, rust-cross-canadian, rust-hello-world, rust-llvm, rust-tools-cross-canadian, rustfmt, xwayland
|
H A D | release-notes-4.2.rst | 80 - rust: rustfmt now working and installed for riscv32
|
/openbmc/qemu/ |
H A D | meson.build | 121 rustfmt = find_program('rustfmt', required: false) variable 4047 if not rustfmt.found() 4049 bindgen_args += ['--no-rustfmt-bindings']
|
H A D | MAINTAINERS | 3342 F: rust/rustfmt.toml
|