diff options
-rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 3 | ||||
-rw-r--r-- | meta/recipes-example/rust-hello-world/rust-hello-world_git.bb | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 52502fb49f..1529ecfafe 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
@@ -1,3 +1,6 @@ | |||
1 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" | 1 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" |
2 | 2 | ||
3 | RUSTSRC = "${WORKDIR}/rustc-${PV}-src" | 3 | RUSTSRC = "${WORKDIR}/rustc-${PV}-src" |
4 | |||
5 | UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" | ||
6 | UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" | ||
diff --git a/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb b/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb index c29eac34e5..3ebd9cc661 100644 --- a/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb +++ b/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb | |||
@@ -8,6 +8,8 @@ SRC_URI += "\ | |||
8 | file://0001-enable-LTO.patch \ | 8 | file://0001-enable-LTO.patch \ |
9 | " | 9 | " |
10 | 10 | ||
11 | UPSTREAM_CHECK_COMMITS = "1" | ||
12 | |||
11 | SUMMARY = "Hello World by Cargo for Rust" | 13 | SUMMARY = "Hello World by Cargo for Rust" |
12 | HOMEPAGE = "https://github.com/meta-rust/rust-hello-world" | 14 | HOMEPAGE = "https://github.com/meta-rust/rust-hello-world" |
13 | LICENSE = "MIT | Apache-2.0" | 15 | LICENSE = "MIT | Apache-2.0" |