Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devops(firefox): fixate rust and cbindgen version #3223

Merged

Conversation

aslushnikov
Copy link
Collaborator

Firefox buildchain does not fixate rust and cbindgen versions,
so we want to fixate them on our end.

A table with matching rust version for every firefox version can
be found at Rust Update Policy for Firefox.

Additionally, there are checks in mozbuild for the minimum
rust version and minimum cbindgen version.

Firefox buildchain does not fixate `rust` and `cbindgen` versions,
so we want to fixate them on our end.

A table with matching rust version for every firefox version can
be found at [Rust Update Policy for Firefox](https://wiki.mozilla.org/Rust_Update_Policy_for_Firefox).

Additionally, there are checks in `mozbuild` for the minimum
rust version and minimum `cbindgen` version.
@@ -41,6 +44,12 @@ echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
if [[ $1 == "--juggler" ]]; then
./mach build faster
else
# We manage Rust version ourselves.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we cache the result to reduce impact on the build time?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be quite instant, at least on Linux and Mac.
I'm yet to check no windows

@aslushnikov aslushnikov merged commit 4961c2d into microsoft:master Jul 30, 2020
@aslushnikov aslushnikov deleted the fixate-rust-and-cbindgen-versions branch July 30, 2020 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants