Open Bug 1806929 Opened 2 years ago Updated 2 years ago

Documentation issue on setup/linux_build: Add Rust in the prerequisites

Categories

(Developer Infrastructure :: Firefox Source Docs: Content, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: ayeddi, Unassigned)

References

()

Details

URL = https://firefox-source-docs.mozilla.org/setup/linux_build.html

Consider mentioning Rust in the requirements, because bootstrapping won't work without it and, for instance, Fedora and Ubuntu are not coming with Rust pre-installed atm.

The command to run could be also included (from the Rust website):

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Also clang, llvm, and Node.js may be mentioned there too :)

I am a bit confused, mach bootstrap should be doing that for us, no?

(In reply to Sylvestre Ledru [:Sylvestre] from comment #2)

I am a bit confused, mach bootstrap should be doing that for us, no?

From my experience with bootstrapping (macOS M1 and Intel, Linux Fedora and Ubuntu VMs on macOS M1, Windows OS), clang and llvm were probably installed with a ./mach bootstrap for everything but Linux (but M1 architecture is Tier 3 support, so that's ok). Rust had to be manually installed on Win and Linux VMs (which may not be the case for non-M1 architectures though)

But Node.js was never bootstrapped on any of the environments listed.

You need to log in before you can comment on or make changes to this bug.