Closed Bug 1290957 Opened 4 years ago Closed 4 years ago
fail the build if MOZ
_AUTOMATION and not MOZ _CARGO _SUPPORTS _FROZEN
Our automation builds should always be using the --frozen flag to 'cargo build'; we should fail builds if it turns out that flag isn't supported by the version of cargo that we're using (or the check is buggy in some way).
We want to ensure that our automation builds don't pull in libraries from crates.io, and we need --frozen support in cargo to do that. If we don't have that support, we shouldn't build.
Attachment #8778948 - Flags: review?(cmanchester)
Attachment #8778948 - Flags: review?(cmanchester) → review+
Summary: fail the build if MOZ_AUTOMATION and MOZ_CARGO_SUPPORTS_FROZEN → fail the build if MOZ_AUTOMATION and not MOZ_CARGO_SUPPORTS_FROZEN
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/c8be3efb3486 ensure MOZ_AUTOMATION builds require a cargo with --frozen support; r=chmanchester
You need to log in before you can comment on or make changes to this bug.