forked from mirrors/gecko-dev
- Added `--enable-uniffi-fixtures` flag. When set, we will compile in the UniFFI test fixtures into our shared Rust crate and eventually into `libxul`. - Vendoring in the Rust crates needed for `uniffi-bindgen-gecko-js` Differential Revision: https://phabricator.services.mozilla.com/D144467
13 lines
146 B
Rust
13 lines
146 B
Rust
use extend::ext;
|
|
|
|
#[ext(pub(crate), name = Foo)]
|
|
impl i32 {
|
|
fn foo() {}
|
|
}
|
|
|
|
#[ext(pub, name = Bar)]
|
|
impl i64 {
|
|
fn foo() {}
|
|
}
|
|
|
|
fn main() {}
|