From: "Randy MacLeod" <randy.macleod@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 4/7] rust: update the README to conform to being in oe-core
Date: Wed, 24 Feb 2021 20:48:20 -0500 [thread overview]
Message-ID: <20210225014823.397741-5-Randy.MacLeod@windriver.com> (raw)
In-Reply-To: <20210225014823.397741-1-Randy.MacLeod@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
meta/recipes-devtools/rust/README-rust.md | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
diff --git a/meta/recipes-devtools/rust/README-rust.md b/meta/recipes-devtools/rust/README-rust.md
index 400baf700d..68540b478d 100644
--- a/meta/recipes-devtools/rust/README-rust.md
+++ b/meta/recipes-devtools/rust/README-rust.md
@@ -1,7 +1,7 @@
## Introduction
-This OpenEmbedded layer provides the rust compiler, tools for building packages
-(cargo), and a few example projects.
+This provides the Rust compiler, tools for building packages (cargo), and
+a few example projects.
## What works:
@@ -12,7 +12,7 @@ This OpenEmbedded layer provides the rust compiler, tools for building packages
## What doesn't:
- - Using anything but x86_64 as the build environment
+ - Using anything but x86_64 or arm64 as the build environment
- rust (built for target) [issue #81](https://github.com/meta-rust/meta-rust/issues/81)
## What's untested:
@@ -24,13 +24,14 @@ This OpenEmbedded layer provides the rust compiler, tools for building packages
When building a rust package in bitbake, it's usually easiest to build with
cargo using cargo.bbclass. If the package already has a Cargo.toml file (most
rust packages do), then it's especially easy. Otherwise you should probably
-get the code building in cargo first.
+get the code building in cargo first.
Once your package builds in cargo, you can use
[cargo-bitbake](https://github.com/meta-rust/cargo-bitbake) to generate a bitbake
recipe for it. This allows bitbake to fetch all the necessary dependent
crates, as well as a pegged version of the crates.io index, to ensure maximum
-reproducibility.
+reproducibility. Once the Rust SDK support is added to oe-core, cargo-bitbake
+may also be added to the SDK.
NOTE: You will have to edit the generated recipe based on the comments
contained within it
@@ -51,18 +52,6 @@ On the target:
- Any `-sys` packages your project might need must have RDEPENDs for
the native library.
-## Maintainer(s) & Patch policy
-
-Open a Pull Request.
-
-The master branch supports the latest master of poky. When poky creates releases, we will create a branch with the same name as the poky release. This release branch should always work with that poky release. Note that these release branches will typically be less tested than the master branch.
-
-All new patches against rust, rust-llvm, and cargo must have referenced
-upstream issues or PRs opened or an explanation why the patch cannot be
-upstreamed. This cooresponds to the OpenEmbedded policy for other meta layers.
-
-More info can be seen on the wiki.
-
## Copyright
MIT OR Apache-2.0 - Same as rust
--
2.27.0
next prev parent reply other threads:[~2021-02-25 1:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <16668FEB024AAA5B.31532@lists.openembedded.org>
2021-02-25 1:48 ` [v2] Merge meta-rust to oe-core Randy MacLeod
2021-02-25 1:48 ` [PATCH 1/7] meta-rust: move code to oe-core from meta-rust layer Randy MacLeod
2021-02-25 1:48 ` [PATCH 2/7] rust: mv README.md to recipes-devtools/rust/README-rust.md Randy MacLeod
2021-02-25 1:48 ` [PATCH 3/7] meta-rust: merge commits Randy MacLeod
2021-02-25 1:48 ` Randy MacLeod [this message]
2021-02-25 1:48 ` [PATCH 5/7] rust: remove container build scripts used by meta-rust Randy MacLeod
2021-02-25 1:48 ` [PATCH 6/7] cargo/rust/rustfmt: exclude from world Randy MacLeod
2021-02-25 1:48 ` [PATCH 7/7] maintainers: Add myself as maintainer for rust pkgs Randy MacLeod
2021-02-25 16:55 ` [OE-core] [v2] Merge meta-rust to oe-core Richard Purdie
2021-02-25 17:37 ` Martin Jansa
2021-02-25 21:40 ` Randy MacLeod
2021-03-04 1:28 ` Randy MacLeod
2021-03-02 2:30 ` Randy MacLeod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210225014823.397741-5-Randy.MacLeod@windriver.com \
--to=randy.macleod@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox