WARNING: These steps are only general in nature. Sometimes things can go wrong, especially with applying patches. This is expected to happen and best judgement should be used.
Follow these steps to upgrade the rust ebuild.
git mv rust-<old version>.ebuild rust-<new version>.ebuild
RESTRICT
variable.STAGE0_DATE
to date from https://github.com/rust-lang/rust/blob/<new version>/src/stage0.txt
.ebuild rust-<new version>.ebuild manifest
RESTRICT
variable.ebuild rust-<new version>.ebuild compile
ebuild rust-<new version>.ebuild compile
sudo ebuild rust-<new version>.ebuild merge
profiles/targets/chromeos/package.provided
git mv virtual/rust/rust-<old version>.ebuild virtual/rust/rust-<new version>.ebuild
cros tryjob -g <cl number> chromiumos-sdk-tryjob
.Before sending to CQ, ensure every file in the
Manifest
is in localmirror or gentoo mirror. First check for the file ings://chromeos-mirror/gentoo/distfiles/
and then check ings://chromeos-localmirror/distfiles/
. If the file is not in either one, upload it using:
gsutil cp -a public-read \ /var/cache/chromeos-cache/distfiles/host/<file from manifest> \ gs://chromeos-localmirror/distfiles/