diff --git a/polkadot/node/core/pvf/common/Cargo.toml b/polkadot/node/core/pvf/common/Cargo.toml index f9f900a0fec0..25c6069c8ba3 100644 --- a/polkadot/node/core/pvf/common/Cargo.toml +++ b/polkadot/node/core/pvf/common/Cargo.toml @@ -25,7 +25,7 @@ sc-executor-wasmtime = { path = "../../../../../substrate/client/executor/wasmti sp-core = { path = "../../../../../substrate/primitives/core" } sp-externalities = { path = "../../../../../substrate/primitives/externalities" } sp-io = { path = "../../../../../substrate/primitives/io" } -sp-tracing = { path = "../../../../../substrate/primitives/tracing" } +sp-tracing = { path = "../../../../../substrate/primitives/tracing", optional = true } [target.'cfg(target_os = "linux")'.dependencies] landlock = "0.2.0" @@ -37,4 +37,4 @@ tempfile = "3.3.0" [features] # This feature is used to export test code to other crates without putting it in the production build. # Also used for building the puppet worker. -test-utils = [] +test-utils = ["sp-tracing"]