Alistair Francis
2c7321dac6
Bump to Rust version 1.43
...
Signed-off-by: Alistair Francis <alistair@alistair23.me >
2020-05-13 22:52:39 -07:00
Steven Walter
b84c61eb85
Revert "cargo: fix progress output"
...
This reverts commit dd0fc89389 .
2020-05-12 10:22:06 -04:00
Steven Walter
dd0fc89389
cargo: fix progress output
...
This patch got dropped from the new cargo version
2020-05-11 22:18:35 -04:00
Colin Finck
4a763a2301
Update 0001-Disable-http2.patch for cargo 1.41.0
2020-02-11 17:11:14 +01:00
Colin Finck
5c7f51b6ad
Update to Rust 1.41.0
2020-02-10 11:17:51 +01:00
Steven Walter
d8d77be129
Merge pull request #259 from ColinFinck/update-to-rust-1.40.0
...
Update to Rust 1.40.0
2020-02-08 12:25:27 -05:00
Alex Kiernan
837b63596d
cargo: Refresh http2 disable patch
...
Fixes:
WARNING: Fuzz detected:
checking file Cargo.toml
Hunk #1 succeeded at 24 with fuzz 1.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com >
2020-01-12 20:38:18 +00:00
Colin Finck
2668f6afd3
Update 0001-Disable-http2.patch for Cargo shipped with Rust 1.40.0
2020-01-06 10:55:39 +01:00
Colin Finck
e5c2a4085f
Update to Rust and Cargo 1.40.0.
2020-01-06 10:03:13 +01:00
Reto Schneider
71895ec5a4
Update to Rust and Cargo 1.39.0
2019-11-08 18:00:16 +01:00
Steven Walter
11aed43748
cargo-1.37.0: fix patch fuzz
...
Regenerate context lines with devtool. This fixes a patch-fuzz warning
2019-08-31 13:58:55 -04:00
Colin Finck
afccedc43c
Update to Rust and Cargo 1.37.0.
2019-08-29 11:31:28 +02:00
Johan Anderholm
2f323e1e9e
Update to rust and cargo version 1.36.0
2019-08-02 09:35:31 +00:00
Alex Kiernan
bcbe02f6ac
cargo: Fix patch fuzz
...
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com >
2019-06-07 12:10:04 +01:00
Takuro Ashie
03f492ab35
Update to rust version 1.34.2
2019-06-06 17:56:39 +09:00
Andrei Gherzan
4a88247046
cargo: Refresh patch to avoid build warning
...
Signed-off-by: Andrei Gherzan <andrei@balena.io >
2019-04-17 16:44:58 +01:00
Johan Anderholm
723e24bd9d
Update to rust version 1.33.0
2019-03-02 07:28:09 +00:00
Johan Anderholm
fa0aebc070
Disable http2 in cargo
...
Since 1.31.0 cargo requires curl to support http2. Enabling http2 in
curl results in a dependency loop. This commit disables the use of
multiplexing and http2.
2019-02-15 12:34:37 +00:00
Johan Anderholm
b3d1b589ee
Update to rust version 1.32.0
2019-02-14 15:29:17 +00:00
Johan Anderholm
cb383b0d90
Remove rust 1.27.1
2019-02-14 15:29:17 +00:00
Johan Anderholm
9952633163
Use cargo version shipped with rust source
...
The source of cargo used in a release is shipped with the rust source.
Use this instead of the source from github to make sure cargo and rust
are always kept in sync.
This also makes updating rust version a bit easier.
2019-02-14 15:29:17 +00:00
Otavio Salvador
f54025fed9
cargo: Add 0.31.0 recipe
...
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br >
2018-11-09 08:06:29 -02:00
Otavio Salvador
f317737fae
cargo: Ensure libssh2 from system is used
...
This forces the use of libssh2 by exporting the
LIBSSH2_SYS_USE_PKG_CONFIG environment variable.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br >
2018-11-05 14:33:01 -02:00
Johan Anderholm
bbf4f77f98
Bump to Rust 1.27.1
2018-07-18 08:15:34 +02:00
Johan Anderholm
6a0d148968
Make it possible to build with TCLIBC="musl" (musl as libc)
2018-07-06 19:34:33 +02:00
Johan Anderholm
03d8fb472c
Bump to Rust 1.26.2
...
Remove old versions because they are not compatible with the changes in
rust-common.bbclass
2018-06-16 09:50:47 +02:00
Adam Schwalm
0639277e4c
Add 1.24.0 for rocko
2018-02-27 16:19:12 -06:00
Jonathan Creekmore
b28674a452
support Rust 1.21.0 and Cargo 0.22.0
2017-10-31 16:45:30 -05:00
Doug Goldstein
d231fcb708
drop Rust 1.15.1 / Cargo 0.16
2017-10-10 11:22:26 -05:00
Doug Goldstein
3bf7088579
bump to Rust 1.20.0 and Cargo 0.21
2017-09-29 15:37:16 -05:00
Johan Anderholm
a4fe235317
Switch to rustbuild
...
Switch the build process to using Rust's new build system called
rustbuild. At the same time stop using jemalloc on all platforms and
switch to the system allocator since that was simplier to do.
2017-09-29 09:49:33 -05:00
Doug Goldstein
1ff41650d5
cargo: convert to versioned include file
...
We'll need the prior version of cargo to boot strap ourselves going
forward so include the version info so we can support multiple versions
in the tree.
2017-09-29 09:49:31 -05:00
Doug Goldstein
398fecb48c
cargo: convert recipe to cargo-bitbake
...
Generate the Cargo recipe with cargo-bitbake instead of having a
handcrafted recipe. This should make future version bumps easier.
Three known issues:
- license checksum of the Apache license is a generateme value
due to the license file having a difference name then what's in
Cargo.toml.
- branch= value was wrong for tags. Pointed to HEAD instead of the
branch that the underlying tag commit came from.
- Use https protocol when the repo is publicly accessible.
2017-06-21 15:14:37 -05:00
Johan Anderholm
3e0f03d12a
cargo: build cargo using cargo and not make
...
Instead of using the configure script paired with make, use Cargo to
build Cargo. This moves us closer to being compatible with rustbuild.
2017-06-21 11:52:28 -05:00
Doug Goldstein
1db27bc4f7
drop Rust 1.12.1 and Cargo 0.13
...
In keeping with our Rust supported releases schedule at
https://github.com/meta-rust/meta-rust/wiki this drops Rust 1.12.1 and
its cooresponding Cargo release.
2017-06-18 11:17:30 -05:00
Derek Straka
f851e8f185
Bump to Cargo 0.16.0 for Rust 1.15.x
...
Signed-off-by: Derek Straka <derek@asterius.io >
2017-03-07 16:30:26 -06:00
Doug Goldstein
84af8005f3
cargo: update to use Cargo 0.13.0 fetching
2016-12-07 15:14:10 -06:00
Doug Goldstein
ac5d169623
Remove Rust 1.10.0 / Cargo 0.11.0
2016-12-07 08:51:10 -06:00
Doug Goldstein
6083dff0b6
drop rust-installer.bbclass
...
This is only necessary for installations of rust so move the actual
functional bits into the do_install() phase of rust.
2016-12-05 10:55:14 -06:00
Doug Goldstein
03496f658f
cargo: use install targets to avoid rust-installer
...
This install target is used by Gentoo to avoid needing rust-installer.
2016-12-05 10:55:13 -06:00
Doug Goldstein
21224d76a0
cargo: add version 0.13.0
...
This version was released alongside Rust 1.12.0
2016-12-02 23:08:17 -06:00
Doug Goldstein
06cc11b2b4
cargo: move explicitly versioned deps out of common
...
These dependencies are explicitly for Cargo 0.11.0 and shouldn't appear
in the common file.
2016-12-02 23:07:40 -06:00
Doug Goldstein
2ffd11b9fe
cargo: revert dropped usage of -C crate_hash
...
This reverts the change from 5afc0cc471 based on the discussion in #116 .
2016-11-30 20:57:04 -06:00
Doug Goldstein
61093e260f
cargo: remove code that doesn't work
...
The comment says it doesn't work and I can confirm it won't work.
2016-11-23 14:15:41 -06:00
Doug Goldstein
5afc0cc471
cargo.bbclass: ensure extra RUSTFLAGS are properly passed
...
The RUSTFLAGS env var overrides the rustflags specified in the cargo
config so we need to take anything passed in the environment variable
and put it in the config.
2016-11-23 14:15:17 -06:00
Doug Goldstein
f366cff864
cargo: change trivial verbose flag
2016-11-23 11:42:00 -06:00
Cody P Schafer
e47bf14904
cargo: avoid build failure due to --disable-static not being recognized
...
Not sure why this is starting to affect cargo now, but let's fix it.
2016-09-13 23:28:31 -04:00
Steven Walter
fbf59ed6a0
cargo.bbclass: replace with what was cargo_util.bbclass
...
The old cargo.bbclass had no users in meta-rust and had lots of
problems (not least of which was lots of duplicated lines with
cargo_util.bbclass). Delete the old cargo.bbclass and replace it
entirely wiht cargo_util
2016-09-05 18:40:42 -04:00
Steven Walter
1059968d25
cargo: never contact the registry
...
It's forbidden to access the network during the build phase in bitbake.
Since this version of cargo does not yet support source-replacement, we
must patch out the behavior instead.
2016-09-05 18:38:38 -04:00
Steven Walter
cb753fc536
cargo.inc: switch to cargo_util.bbclass
...
This does all the fetching through bitbake which allows it to be built
correctly in firewalled environments.
2016-09-05 18:38:35 -04:00