]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
rust: Remove CARGO_VERSION
authorAlex Kiernan <alex.kiernan@gmail.com>
Fri, 13 Jan 2023 11:53:19 +0000 (11:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Jan 2023 12:23:30 +0000 (12:23 +0000)
CARGO_VERSION isn't broken out in rust/src/stage0.json, there's only one
snapshot version, so just use that.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/rust/rust-snapshot.inc

index 6420bcff55adb20dac27740728f76f3d8f71d494..25192c9f7666bb67f41b8c991d12c577f6b9efa0 100644 (file)
@@ -7,7 +7,6 @@
 ##       earlier SRC_URI.
 
 SNAPSHOT_VERSION = "1.65.0"
-CARGO_VERSION = "1.65.0"
 
 # TODO: Add hashes for other architecture toolchains as well. Make a script?
 SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "2b588cd2d49688c0c33b7466614123e8fe4c910f4d802fc0ff0662b1772816a9"
@@ -30,4 +29,4 @@ SRC_URI += " \
 
 RUST_STD_SNAPSHOT = "rust-std-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
 RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
-CARGO_SNAPSHOT = "cargo-${CARGO_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
+CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"