Re:Rust required to build Gecko
by Manishearth on Friday December 16, 2016 @04:25AM
(#13192081)
The user-facing build process for Gecko doesn't change as a result of this (or as a result of most build changes). It's pretty straightforward: mach bootstrap to fetch dependencies, mach build to build. Takes a while but that's not something that complicates the contributor experience; the build time is just annoying.
[ Parent
| on HN ]
Unless you are changing c/c++ code you can use artifact builds which download most of the compiled bits and integrate your front end changes. For me it changes a 1+hr build down to a <1min build.
It's basically one line to add to a config file to enable it.
Re:Rust required to build Gecko
by Manishearth on Friday December 16, 2016 @01:29PM
(#13195478)
Yeah, I'm really happy that this happened! I've been wanting it for years, ever since I started poking at Firefox frontend (not C++) code.
I actually had a proposal for a tool that would let you hack directly on your Firefox install without needing to download the full source (which is hard to do on flaky connections and annoying on slow ones). This is already possible, Firefox ships with a zip file (omni.ja) containing its UI code. The UI code is precompiled and cached, however you can edit the code and delete its cached form and stuff just works.
It's a hack, but it makes it incredibly easy to just get started hacking on Firefox code. I could imagine there being an addon that helped smooth this process.
Could you point me to some resources? This really piqued my interest.
Re:Rust required to build Gecko
by Manishearth on Friday December 16, 2016 @02:57PM
(#13196219)
For omni.ja? http://inpursuitoflaziness.blogspot.com/2014/01/editing-file... is something I wrote a few years ago.
For more info about contributing to Firefox, see https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
I am about to start contributing. I currently keep reading the changesets to get an idea of how things work and hang out on irc and bugzilla. I am just waiting for my winter vacations to start working of Mozilla stuff. Thanks for the links.