Skip to content

Commit 97c90fb

Browse files
committed
uniffi log
1 parent db0e031 commit 97c90fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/common/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,10 @@ pub(crate) struct TestConfig {
278278
macro_rules! setup_builder {
279279
($builder: ident, $config: expr) => {
280280
#[cfg(feature = "uniffi")]
281-
let $builder = Builder::from_config($config.node_config.clone());
281+
let mut $builder = Builder::from_config($config.node_config.clone());
282282
#[cfg(not(feature = "uniffi"))]
283283
let mut $builder = Builder::from_config($config.node_config.clone());
284284

285-
#[cfg(not(feature = "uniffi"))]
286285
crate::common::set_builder_log_writer(&mut $builder, &$config);
287286
};
288287
}

0 commit comments

Comments
 (0)