gecko-dev/xpcom/rust
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
..
gecko_logger Bug 1774501 - Update to env_logger 0.9 in various in-tree crates. r=nbp,keeler,xpcom-reviewers,rhunt,nika 2022-06-16 20:44:03 +00:00
gkrust_utils Bug 1772048 - Update rustc_version and semver crates. r=emilio,webdriver-reviewers,kinetik,whimboo 2022-06-07 10:01:32 +00:00
gtest Bug 1779326 - Handle a few more `native` types in rust-xpidl, r=xpcom-reviewers,kmag 2022-07-27 14:09:52 +00:00
moz_task Bug 1746533 - Part 2: Use the fallible Poll implementation in moz_task, r=emilio 2022-01-26 15:36:14 +00:00
nserror Bug 1751331 - Use the mozbuild crate in nserror. r=xpcom-reviewers,nika 2022-01-25 21:29:53 +00:00
nsstring
xpcom 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