diff options
Diffstat (limited to 'toolkit/library/rust/shared/lib.rs')
-rw-r--r-- | toolkit/library/rust/shared/lib.rs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/toolkit/library/rust/shared/lib.rs b/toolkit/library/rust/shared/lib.rs index 0179c27a05..7108e3c17c 100644 --- a/toolkit/library/rust/shared/lib.rs +++ b/toolkit/library/rust/shared/lib.rs @@ -24,6 +24,7 @@ extern crate cubeb_coreaudio; #[cfg(feature = "cubeb_pulse_rust")] extern crate cubeb_pulse; extern crate data_storage; +extern crate dom_fragmentdirectives; extern crate encoding_glue; extern crate fog_control; extern crate gecko_profiler; @@ -57,18 +58,15 @@ extern crate webext_storage_bridge; extern crate tabs; #[cfg(not(target_os = "android"))] -mod reexport_tabs { +mod reexport_appservices_uniffi_scaffolding { tabs::uniffi_reexport_scaffolding!(); + relevancy::uniffi_reexport_scaffolding!(); + suggest::uniffi_reexport_scaffolding!(); } #[cfg(not(target_os = "android"))] extern crate suggest; -#[cfg(not(target_os = "android"))] -mod reexport_suggest { - suggest::uniffi_reexport_scaffolding!(); -} - #[cfg(feature = "webrtc")] extern crate mdns_service; extern crate neqo_glue; @@ -138,6 +136,7 @@ mod uniffi_fixtures { uniffi_fixture_callbacks::uniffi_reexport_scaffolding!(); uniffi_custom_types::uniffi_reexport_scaffolding!(); uniffi_fixture_external_types::uniffi_reexport_scaffolding!(); + uniffi_fixture_refcounts::uniffi_reexport_scaffolding!(); uniffi_geometry::uniffi_reexport_scaffolding!(); uniffi_rondpoint::uniffi_reexport_scaffolding!(); uniffi_sprites::uniffi_reexport_scaffolding!(); @@ -176,7 +175,7 @@ pub unsafe extern "C" fn debug_log(target: *const c_char, message: *const c_char // Define extern "C" versions of these UniFFI functions, so that they can be called from C++ #[no_mangle] pub extern "C" fn uniffi_rustbuffer_alloc( - size: i32, + size: u64, call_status: &mut uniffi::RustCallStatus, ) -> uniffi::RustBuffer { uniffi::uniffi_rustbuffer_alloc(size, call_status) |