diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-08-25 16:09:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 14:09:55 +0000 |
commit | 585a25a21278704ced0265b9e38e750bee523b54 (patch) | |
tree | aa9e37a8c87ded19f8f6c6e56f8c2aab01b04932 /components/script/lib.rs | |
parent | 9c310b6d4ed2d0424cafeaf8e012d2bc537a8e4b (diff) | |
download | servo-585a25a21278704ced0265b9e38e750bee523b54.tar.gz servo-585a25a21278704ced0265b9e38e750bee523b54.zip |
Use std::cell::OnceCell and remove mitochondria dependency (#30207)
`OnceCell` is now part of the standard library and we'll be able to use
it once we upgrade rust. For now we can use the version that's shipped
behind a feature flag in rust. This removes a dependency on one crate.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 3d46f4f797c..ecb4bf8a853 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -4,6 +4,7 @@ #![feature(core_intrinsics)] #![feature(drain_filter)] +#![feature(once_cell)] #![feature(plugin)] #![feature(register_tool)] #![deny(unsafe_code)] |