Closed
Description
Seeing as the cell types have been somewhat recently stabilized, is static cell initialization supposed to be stabilized too at some point?
pub const FOO: Foo = Foo {
counter: UnsafeCell { value: 0 },
};
currently triggers "error: use of unstable library feature 'core'" lint, however there's really no other way to work around this as far as I know.
Metadata
Metadata
Assignees
Labels
No labels