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

Adding Rust installation to build script #231

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

tmbrbr
Copy link
Contributor

@tmbrbr tmbrbr commented Oct 16, 2024

Adding rust installation to the build script.

Normally this is done by the ./mach bootstrap command, but this is not ideal for the build script for a couple of reasons:

  • Removing the --no-system-changes would also do this, but also install system packages which requires root privileges. We want to avoid needing a sudo command.
  • By default, mach will install the latest version of rust, which may be too new by the time we get around to building. By installing ourselves, we can control the rust version which matches the firefox version (https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html)

This patch maintains the rust version in the .PLAYWRIGHT_VERSION file and makes sure it gets installed.

@tmbrbr tmbrbr requested a review from leeN October 16, 2024 11:02
Copy link
Collaborator

@leeN leeN left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@tmbrbr tmbrbr merged commit 95befff into SAP:main Oct 16, 2024
3 checks passed
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