Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165662
This commit is contained in:
@@ -18,7 +18,7 @@ for the `xpcom` crate, run these commands:
|
||||
cd xpcom/rust/xpcom
|
||||
MOZ_TOPOBJDIR=$OBJDIR cargo doc
|
||||
cd -
|
||||
firefox target/doc/xpcom/index.html
|
||||
firefox target/doc/xpcom/index.html
|
||||
```
|
||||
where `$OBJDIR` is the path to the object directory.
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ Here's how you can create a new set of bindings using UniFFI:
|
||||
3. Generate bindings code for your crate
|
||||
- Add the path of your UDL (that you made in step 1) in `toolkit/components/uniffi-bindgen-gecko-js/mach_commands.py`
|
||||
- Run `./mach uniffi generate`
|
||||
- add your newly generated `Rust{udl-name}.jsm` file to `toolkit/components/uniffi-bindgen-gecko-js/components/moz.build`
|
||||
- add your newly generated `Rust{udl-name}.jsm` file to `toolkit/components/uniffi-bindgen-gecko-js/components/moz.build`
|
||||
- Then simply import your `jsm` module to the file you want to use it in and start using your APIs!
|
||||
|
||||
Example from tabs module:
|
||||
|
||||
@@ -5,7 +5,7 @@ Rust toolchains used and required to build Firefox.
|
||||
|
||||
This allows contributors to know when new features will be usable, and
|
||||
downstream packagers to know what toolchain will be required for each Firefox
|
||||
release. Both benefit from the predictability of a schedule.
|
||||
release. Both benefit from the predictability of a schedule.
|
||||
|
||||
## Policy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user