Filter out reg_test so it doesn't prevent compiling.

This commit is contained in:
Stephen Chung
2020-04-23 13:23:25 +08:00
parent 5b41985ccc
commit a4bf572d5a
2 changed files with 3 additions and 2 deletions

View File

@@ -235,6 +235,7 @@ pub fn reg_unary_mut<T: Variant + Clone, R>(
lib.functions.insert(hash, f);
}
#[cfg(not(feature = "sync"))]
pub(crate) fn reg_test<'a, A: Variant + Clone, B: Variant + Clone, X, R>(
lib: &mut PackageStore,
fn_name: &'static str,