rust/README-rust.md: fix markdown style issues

Fix markdown style issues using markdownlint tool [1]:

$ cat ./meta/recipes-devtools/rust/README-rust.md | mdl
(stdin):1: MD002 First header should be a top level header
(stdin):25: MD006 Consider starting bulleted lists at the beginning of the line
(stdin):3: MD009 Trailing spaces
(stdin):11: MD009 Trailing spaces
(stdin):26: MD009 Trailing spaces
(stdin):39: MD012 Multiple consecutive blank lines
(stdin):32: MD032 Lists should be surrounded by blank lines
(stdin):36: MD032 Lists should be surrounded by blank lines

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: 62bade83dd6e021f11e9599a2699a1b202324f0f)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Igor Opaniuk 2025-02-04 11:01:14 +01:00 committed by Richard Purdie
parent e8d4c8a153
commit fe0669477e

View File

@ -1,4 +1,4 @@
## Introduction
# Introduction
This provides the Rust compiler, tools for building packages (cargo), and
a few example projects.
@ -22,17 +22,19 @@ contained within it
## Pitfalls
- TARGET_SYS _must_ be different from BUILD_SYS. This is due to the way Rust
configuration options are tracked for different targets. This is the reason
we use the Yocto triples instead of the native Rust triples. See rust-lang/cargo#3349.
`TARGET_SYS` _must_ be different from `BUILD_SYS`. This is due to the way Rust
configuration options are tracked for different targets. This is the reason
we use the Yocto triples instead of the native Rust triples. See
[Add the ability to provide build flags for the build-script-build #3349](https://github.com/rust-lang/cargo/issues/3349)
## Dependencies
On the host:
- Any `-sys` packages your project might need must have RDEPENDs for
* Any `-sys` packages your project might need must have RDEPENDs for
the native library.
On the target:
- Any `-sys` packages your project might need must have RDEPENDs for
the native library.
* Any `-sys` packages your project might need must have RDEPENDs for
the native library.