From 8ceb6a47d5cf6d9038c7f870f7d2dea4e88c88b6 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Sat, 30 Jul 2016 13:57:05 -0500 Subject: [PATCH 1/4] README: remove items from TODO that are done We have a crates.io fetcher and the ability to build without network. --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 0ee2287..c536bab 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,6 @@ do this. - -crosssdk and -buildsdk packages - Upstream local rustc patches for libdir and bindir support - - add bitbake fetch support for crates.io - - add required cargo package registry clones in SRC_URI to prevent the need - for network when building. ## Pitfalls From 095b0be0a66ad1b50df1f7c77ed6dc261d65dc19 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Sat, 30 Jul 2016 14:00:42 -0500 Subject: [PATCH 2/4] README: add note about requiring upstream ref for patches Add some notes about requiring patches to be submitted upstream as issues or pull requests or a reason why they cannot be upstreamed. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c536bab..8ef52fe 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,10 @@ 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. + ## Copyright MIT OR Apache-2.0 - Same as rust From 1878ee9a1e928355465b2113b1696eadcf610736 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Sat, 30 Jul 2016 15:34:48 -0500 Subject: [PATCH 3/4] README: remove stating that only ARM works --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 8ef52fe..7a0c2a9 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ This openembedded layer provides the rust compiler, tools for building packages ## What works: - - MACHINE="beaglebone" (TARGET_SYS=arm-poky-linux-gnueabi) - Building rust-native, rust-cross, rust-hello-world, cargo-native - Running/using all of these (including rust-hello-world) From 69dd8a8ee3650c0639151f5a61f80c3d87cadaa2 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Sat, 30 Jul 2016 15:36:30 -0500 Subject: [PATCH 4/4] README: update info about what works and doesn't --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a0c2a9..c2d1cc6 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,16 @@ This openembedded layer provides the rust compiler, tools for building packages ## What works: - Building rust-native, rust-cross, rust-hello-world, cargo-native - - Running/using all of these (including rust-hello-world) + - Building Rust based projects with Cargo for the TARGET ## What doesn't: + - Using anything but x86_64 as the build environment - Probably some of the untested things ## What's untested: - rust (built for target) - - Other TARGETs ## Common issues when packaging things using cargo