Skip to content

Merge rust and cargo

Arnout Vandecappelle (Essensium/Mind) buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest10 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10package/rustc: install cargo config as toolchain post-install hookpackage/cargo/cargo.mk package/rustc/cargo-config.in package/rustc/rustc.mk+12 -63 replies
2/10package/rust: build and install cargopackage/rust/rust.mk+3 -03 replies
2/10package/rust: build and install cargo+0 -01 reply
3/10package/cargo-bin: install if rust-bin selectedpackage/cargo-bin/cargo-bin.mk+6 -01 reply
4/10package/rust-bin: host variant depends on host-cargo-binpackage/rust-bin/rust-bin.mk+1 -01 reply
5/10package/rust: drop dependency on host-cargo-binpackage/rust/rust.mk+0 -11 reply
6/10package/ripgrep: depends on host-rustcpackage/ripgrep/Config.in package/ripgrep/ripgrep.mk+2 -21 reply
7/10package/cargo: drop packageDEVELOPERS package/Config.in.host package/cargo/Config.in.host +3 more+0 -1061 reply
8/10docs/manual: cargo packages depend on host-rustcdocs/manual/adding-packages-cargo.txt+2 -21 reply
9/10package/rust: bump to 1.40package/cargo-bin/cargo-bin.hash package/cargo-bin/cargo-bin.mk package/rust-bin/rust-bin.hash +4 more+62 -3261 reply
10/10package/cargo-bin: remove and use cargo-bin from rust-bin packageDEVELOPERS package/cargo-bin/cargo-bin.hash package/cargo-bin/cargo-bin.mk +3 more+22 -562 replies

Reviews trailers per patch

7 of 11 patches have a Reviewed-by or Acked-by.

PatchSam VossMatthew WeberDavid Pierret
SeriesT-b
1/10T-b
2/10T-b T-b
2/10T-b T-b
3/10R-b T-b
4/10R-b T-b
5/10R-b T-b
6/10R-b T-b
7/10R-b T-b
8/10R-b T-b
9/10R-b T-b
10/10T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [Buildroot] [PATCH v3 00/10] Merge rust and cargo

The source code for Cargo, the build and package manager for Rust, is now shipped along with the compiler and standard library.

So there can not be a standalone package for Cargo anymore.

This series does the following:
- move the installation of cargo config to toolchain post-install hook.
- update host-rust to build and install Cargo.
- install host-cargo-bin if host-rust-bin is selected instead of host-rust.
- update dependencies for package(s) using Cargo.
- remove cargo packaging.
- update the packaging documentation.
- bump rust (+cargo) to 1.40.
- remove cargo-bin as well (now bundled with rust binaries).

It was previously posted by Eric Le Bihan [1] and by Patrick Havelange [2]. I wanted to merge it, but I made some invasive changes (the first patch) so I'm reposting just to be sure.

Regards,
Arnout

[1] http://patchwork.ozlabs.org/project/buildroot/list/?series=140900
[2] http://patchwork.ozlabs.org/project/buildroot/list/?series=153317

Arnout Vandecappelle (Essensium/Mind) (1):
package/rustc: install cargo config as toolchain post-install hook

Eric Le Bihan (7):
package/rust: build and install cargo package/cargo-bin: install if rust-bin selected package/rust-bin: host variant depends on host-cargo-bin package/rust: drop dependency on host-cargo-bin package/ripgrep: depends on host-rustc package/cargo: drop package
docs/manual: cargo packages depend on host-rustc

Patrick Havelange (2):
package/rust: bump to 1.40
package/cargo-bin: remove and use cargo-bin from rust-bin package

 DEVELOPERS                                    |   2 -
 docs/manual/adding-packages-cargo.txt         |   4 +-
 package/Config.in.host                        |   1 -
 package/cargo-bin/cargo-bin.hash              |  13 -
 package/cargo-bin/cargo-bin.mk                |  13 -
 package/cargo/Config.in.host                  |   9 -
 package/cargo/cargo.hash                      |   8 -
 package/cargo/cargo.mk                        |  91 ------
 package/ripgrep/Config.in                     |   2 +-
 package/ripgrep/ripgrep.mk                    |   2 +-
 package/rust-bin/rust-bin.hash                |  93 +++---
 package/rust-bin/rust-bin.mk                  |  29 +-
 ...esence-of-LLVM-library-in-stage0-lib.patch | 264 ------------------
 package/rust/rust.hash                        |   6 +-
 package/rust/rust.mk                          |   8 +-
 .../config.in => rustc/cargo-config.in}       |   0
 package/rustc/rustc.mk                        |  12 +
 support/testing/tests/package/test_rust.py    |   2 -
 18 files changed, 85 insertions(+), 474 deletions(-)
 delete mode 100644 package/cargo-bin/cargo-bin.hash
 delete mode 100644 package/cargo-bin/cargo-bin.mk
 delete mode 100644 package/cargo/Config.in.host
 delete mode 100644 package/cargo/cargo.hash
 delete mode 100644 package/cargo/cargo.mk
 delete mode 100644 package/rust/0001-Workaround-presence-of-LLVM-library-in-stage0-lib.patch
 rename package/{cargo/config.in => rustc/cargo-config.in} (100%)
Signature · 1 line
2.24.1