switch from slab to slotmap for tasks to fix that ABA problem (#2488)
This commit is contained in:
1 parent
5024139e01
commit
e4764f2bba
5 files changed
+39
-18
No files matched your search
Generated
+11
@@ -2253,6 +2253,7 @@ dependencies = [
|
||||
"rustversion",
|
||||
"serde",
|
||||
"slab",
|
||||
"slotmap",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"tracing-fluent-assertions",
|
||||
@@ -8343,6 +8344,16 @@ dependencies = [
|
||||
"rustc-hash",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "slotmap"
|
||||
version = "1.0.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"version_check",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "smallvec"
|
||||
version = "1.13.2"
|
||||
|
||||
Reference in new issue
Block a user