From a59d7cdedc3f886d925076124805edd1ca807be6 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 9 Sep 2024 18:00:51 +0200 Subject: [PATCH] chore: pin intrusive collections (#193) newer version broke boa --- Cargo.toml | 3 ++- src/tracing/js/mod.rs | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3a354fc5..f556f9e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,6 +47,7 @@ serde_json = "1.0" # js-tracer boa_engine = { version = "0.19", optional = true } boa_gc = { version = "0.19", optional = true } +intrusive-collections = { version = "=0.9.6", optional = true } log = "0.4.22" [dev-dependencies] @@ -54,4 +55,4 @@ snapbox = "0.6" [features] serde = ["dep:serde", "revm/serde"] -js-tracer = ["dep:boa_engine", "dep:boa_gc"] +js-tracer = ["dep:boa_engine", "dep:boa_gc", "dep:intrusive-collections"] diff --git a/src/tracing/js/mod.rs b/src/tracing/js/mod.rs index 014d6def..a5a2622d 100644 --- a/src/tracing/js/mod.rs +++ b/src/tracing/js/mod.rs @@ -22,6 +22,9 @@ use revm::{ ContextPrecompiles, Database, DatabaseRef, EvmContext, Inspector, }; +// TODO: remove pin once boa compiles with newer version +use intrusive_collections as _; + pub(crate) mod bindings; pub(crate) mod builtins;