File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ assert_matches = "1.4.0"
4747hex-literal = " 0.3.4"
4848polkadot-node-core-pvf-common = { path = " common" , features = [" test-utils" ] }
4949# For the puppet worker, depend on ourselves with the test-utils feature.
50- polkadot-node-core-pvf = { path = " " , features = [" test-utils" ] }
50+ polkadot-node-core-pvf = { path = " . " , features = [" test-utils" ] }
5151
5252adder = { package = " test-parachain-adder" , path = " ../../../parachain/test-parachains/adder" }
5353halt = { package = " test-parachain-halt" , path = " ../../../parachain/test-parachains/halt" }
Original file line number Diff line number Diff line change @@ -25,11 +25,8 @@ pub mod worker;
2525
2626pub use cpu_time:: ProcessTime ;
2727
28- /// DO NOT USE - internal for macros only.
29- #[ doc( hidden) ]
30- pub mod __private {
31- pub use sp_tracing:: try_init_simple;
32- }
28+ // Used by `decl_worker_main!`.
29+ pub use sp_tracing;
3330
3431const LOG_TARGET : & str = "parachain::pvf-common" ;
3532
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ macro_rules! decl_worker_main {
4141 }
4242
4343 fn main( ) {
44- $crate:: __private:: try_init_simple( ) ;
44+ // TODO: Remove this dependency, and `pub use sp_tracing` in `lib.rs`.
45+ // See <https://github.com/paritytech/polkadot/issues/7117>.
46+ $crate:: sp_tracing:: try_init_simple( ) ;
4547
4648 let args = std:: env:: args( ) . collect:: <Vec <_>>( ) ;
4749 if args. len( ) == 1 {
You can’t perform that action at this time.
0 commit comments