Migrate most of wasmtime from lazy_static to once_cell (#4368)
* Update tracing-core to a version which doesn't depend on lazy-static. * Update crossbeam-utils to a version that doesn't depend on lazy-static. * Update crossbeam-epoch to a version that doesn't depend on lazy-static. * Update clap to a version that doesn't depend on lazy-static. * Convert Wasmtime's own use of lazy_static to once_cell. * Make `GDB_REGISTRATION`'s comment a doc comment. * Fix compilation on Windows.
This commit is contained in:
@@ -11,7 +11,7 @@ readme = "README.md"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
lazy_static = {version = "1.3.0", optional = true }
|
||||
once_cell = {version = "1.12.0", optional = true }
|
||||
object = { version = "0.28.0", default-features = false, features = ["std", "read_core"], optional = true }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
@@ -21,5 +21,5 @@ rustix = { version = "0.35.6", features = ["mm", "param", "time"], optional = tr
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[features]
|
||||
gdb_jit_int = ["lazy_static"]
|
||||
gdb_jit_int = ["once_cell"]
|
||||
perf_jitdump = ["rustix", "object"]
|
||||
|
||||
Reference in New Issue
Block a user