Closed Bug 1852209 Opened 1 years ago Closed 1 year ago

Switch to bitflags 2

Categories

(Core :: General, task)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(4 files)

We currently are using a fake bitflags 2, derived from bitflags 1. More and more crates are using it, and we're at a sweet spot where flipping things around makes sense: using a fake bitflags 1, derived from bitflags 2.

There are "only" 6 crates that cause problems:

One more: audio-mixer, handled with https://github.com/mozilla/audio-mixer/pull/15

Depends on: 1852704
Depends on: 1853046
Depends on: 1854013
Blocks: 1854025

We currently are using a fake bitflags 2, derived from bitflags 1. More
and more crates are using it, and we're at a sweet spot where flipping
things around makes sense: using a fake bitflags 1, derived from
bitflags 2.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/db0f75cd5932 Update cubeb-core to 0.10.4. r=media-playback-reviewers,supply-chain-reviewers,kinetik https://hg.mozilla.org/integration/autoland/rev/7f6b68acf7b6 Avoid using bitflags internals in webrender. r=gfx-reviewers,gw https://hg.mozilla.org/integration/autoland/rev/d97182f92202 Fixup servo for bitflags 2 after bug 1792501. r=emilio https://hg.mozilla.org/integration/autoland/rev/b3d4dd6d5b43 Switch to bitflags 2 r=supply-chain-reviewers,emilio
Blocks: 1855614
Blocks: 1855617
Blocks: 1855870
Regressions: 1874035
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: