Closed Bug 1765291 Opened 2 years ago Closed 2 years ago

Update cbindgen.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

This will allow generating flags with complex expressions like:

https://searchfox.org/mozilla-central/rev/4b3039b48c3cb67774270ebcc2a7d8624d888092/servo/components/style/values/specified/box.rs#1281-1285

Which now generates:

inline const StyleContain StyleContain::STRICT = StyleContain{ /* .bits = */ (uint8_t)((((1 << 3) | (StyleContain::LAYOUT).bits) | (StyleContain::PAINT).bits) | (StyleContain::SIZE).bits) };

and a number of other improvements.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7840f8abde3
Update cbindgen to 0.22.0. r=layout-reviewers,boris
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Regressions: 1765746
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: