You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(fluent-pseudo): Use once_cell to avoid unsafe mutable static without bumping MSRV
This can be updated to use the *std* implementation once our MSRV can be
1.70 or newer. For now this conservatively maintains the lower MSRV
while dodging the undefined behavior of a mutable reference to a mutable
static. Technically what we were doing would work, but relying on
undefined behavior that we were only bending now breaking isn't a great
practice. Two less unsafe blocks.
Note the once_cell 1.21.x release series requires 1.66.0, which is
a bump up from what fluent-pseudo currently needs.
0 commit comments