gecko-dev/xpcom/rust/xpcom
Nika Layzell 706cf2f2fa Bug 1782765 - Fix nullability of arrays of interfaces in Rust, r=xpcom-reviewers,necko-reviewers,mccr8,valentin
When generating code for arrays of interfaces from the rust-xpidl
compiler, the type was declared incorrectly as ThinVec<RefPtr<T>>
instead of ThinVec<Option<RefPtr<T>>> meaning that null values in the
array would be handled incorrectly.

This patch fixes this code generation mistake and updates crates using
the interface to handle null values correctly.

Differential Revision: https://phabricator.services.mozilla.com/D153485
2022-08-11 17:53:48 +00:00
..
src Bug 1782765 - Fix nullability of arrays of interfaces in Rust, r=xpcom-reviewers,necko-reviewers,mccr8,valentin 2022-08-11 17:53:48 +00:00
xpcom_macros Bug 1751331 - Use the mozbuild crate in xpcom. r=xpcom-reviewers,nika 2022-01-25 21:29:52 +00:00
Cargo.toml Bug 1751331 - Use the mozbuild crate in xpcom. r=xpcom-reviewers,nika 2022-01-25 21:29:52 +00:00