Source code
Revision control
Copy as Markdown
Other Tools
# Developing with a local Glean build
FOG uses a release version of Glean, as published on [crates.io][cratesio-glean].
For local development and try runs you can replace this Glean implementation with a local or remote version.
```
./mach glean dev ../path/to/glean
```
Using a remote branch of your Glean fork:
```
```
A remote `git` reference works for try runs as well,
but a `path` dependency will not.
Please ensure you do not land a non-release version of Glean.
To switch back to a normal build with a release Glean version:
```
./mach glean prod
```
You can also manually reset the changes to `Cargo.toml`, `Cargo.lock` and in `third_party/rust`.