gecko-dev/xpcom/idl-parser
Nika Layzell 5c7b57345b Bug 1843568 - Part 2: Validate that rust_sync interfaces have threadsafe refcounts in c++, r=xpcom-reviewers,barret
This adds c++-side assertions to annotated interfaces, requiring them to use a
threadsafe reference count. This ended up being quite gross due to interface
table entries making it difficult to add a `static_assert` into the code, so it
ended up being done through a constexpr constant which validates before
returning the IID.

Differential Revision: https://phabricator.services.mozilla.com/D183591
2023-07-20 17:39:03 +00:00
..
xpidl Bug 1843568 - Part 2: Validate that rust_sync interfaces have threadsafe refcounts in c++, r=xpcom-reviewers,barret 2023-07-20 17:39:03 +00:00
setup.py Bug 1790816 - Reformat xpcom/ with isort. r=mccr8 DONTBUILD 2022-11-22 13:37:48 +00:00