gecko-dev/servo
Emilio Cobos Álvarez c42ed6e96e Bug 1765746 - Tweak contain bitflag definition order to avoid static constructors. r=dshin
This has no behavior change otherwise. The STRICT definition depended on
SIZE, which was defined later. That's fine in Rust, but in C++ it causes
the initialization to be dynamic because it doesn't have the definition
of SIZE yet (ugh).

This is the fix for the regression, though the following patch turns on
constexpr support in cbindgen, which would've caught this at build-time,
and guarantees that we don't have extra static constructors.

Differential Revision: https://phabricator.services.mozilla.com/D144316
2022-04-21 17:23:38 +00:00
..
components Bug 1765746 - Tweak contain bitflag definition order to avoid static constructors. r=dshin 2022-04-21 17:23:38 +00:00
ports/geckolib Bug 1765550 - Move transitions and animations to nsStyleUIReset. r=dshin 2022-04-20 15:13:54 +00:00
tests/unit Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
moz.build
rustfmt.toml