Home
last modified time | relevance | path

Searched refs:rustfmt (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/Documentation/translations/zh_CN/rust/
H A Dcoding-guidelines.rst19 代码应该使用 ``rustfmt`` 进行格式化。这样一来,一个不时为内核做贡献的人就不需要再去学
23 .. note:: ``rustfmt`` 不检查注释和文档的约定。因此,这些仍然需要照顾到。
25 使用 ``rustfmt`` 的默认设置。这意味着遵循Rust的习惯性风格。例如,缩进时使用4个空格而
31 make LLVM=1 rustfmt
37 像内核其他部分的 ``clang-format`` 一样, ``rustfmt`` 在单个文件上工作,并且不需要
H A Dquick-start.rst106 rustfmt section in 开发依赖
109 ``rustfmt`` 工具被用来自动格式化所有的Rust内核代码,包括生成的C绑定(详情请见
115 rustup component add rustfmt
117 独立的安装程序也带有 ``rustfmt`` 。
/openbmc/openbmc/poky/meta/recipes-devtools/rust/
H A Drust_1.80.1.bb238 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 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
H A Dquick-start.rst131 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 Dpackagegroup-rust-cross-canadian.bb19 nativesdk-rust-tools-rustfmt \
/openbmc/qemu/rust/qemu-api-macros/src/
H A Dlib.rs69 #[rustfmt::skip::macros(quote)]
/openbmc/qemu/rust/qemu-api/src/
H A Dlib.rs22 #[rustfmt::skip]
/openbmc/linux/
H A D.gitignore105 !.rustfmt.toml
H A DMakefile279 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 Dopengrok0.0.log[all...]
/openbmc/linux/rust/kernel/
H A Derror.rs20 #[rustfmt::skip]
/openbmc/openbmc/poky/documentation/migration-guides/
H A Drelease-notes-4.1.1.rst174 - rust: install rustfmt for riscv32 as well
H A Dmigration-4.0.rst135 - ``rustfmt``: not especially useful as a standalone recipe
H A Drelease-notes-3.4.rst13 …oss, rust-cross-canadian, rust-hello-world, rust-llvm, rust-tools-cross-canadian, rustfmt, xwayland
H A Drelease-notes-4.2.rst80 - rust: rustfmt now working and installed for riscv32
/openbmc/qemu/
H A Dmeson.build121 rustfmt = find_program('rustfmt', required: false) variable
4047 if not rustfmt.found()
4049 bindgen_args += ['--no-rustfmt-bindings']
H A DMAINTAINERS3342 F: rust/rustfmt.toml