Message ID | 20200207180829.165689-5-arnout@mind.be |
---|---|
State | Accepted |
Headers | show |
Series | Merge rust and cargo | expand |
Hi, Working on a new package using rust, this patch suite have resolved my issue with rust version successfully. Regards David On Fri, Feb 7, 2020 at 7:09 PM Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> wrote: > > From: Eric Le Bihan <eric.le.bihan.dev@free.fr> > > Ensure installation of pre-built cargo binary by adding it to the > dependency list of the host variant of the pre-built Rust compiler. > > Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> > Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com> > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: David Pierret <david.pierret@smile.fr> Tested-by: David Pierret <david.pierret@smile.fr> > --- > package/rust-bin/rust-bin.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk > index a374215e20..bef3102450 100644 > --- a/package/rust-bin/rust-bin.mk > +++ b/package/rust-bin/rust-bin.mk > @@ -10,6 +10,7 @@ RUST_BIN_LICENSE = Apache-2.0 or MIT > RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > > HOST_RUST_BIN_PROVIDES = host-rustc > +HOST_RUST_BIN_DEPENDENCIES = host-cargo-bin > > HOST_RUST_BIN_SOURCE = rustc-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz > > -- > 2.24.1 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk index a374215e20..bef3102450 100644 --- a/package/rust-bin/rust-bin.mk +++ b/package/rust-bin/rust-bin.mk @@ -10,6 +10,7 @@ RUST_BIN_LICENSE = Apache-2.0 or MIT RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT HOST_RUST_BIN_PROVIDES = host-rustc +HOST_RUST_BIN_DEPENDENCIES = host-cargo-bin HOST_RUST_BIN_SOURCE = rustc-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz