diff --git a/src/lib.rs b/src/lib.rs index cfe79f7602d7..e3fd5b8a068b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,7 +132,7 @@ impl ScalarExt for Scalar { } } -fn create_ecx<'a, 'mir: 'a, 'tcx: 'mir>( +pub fn create_ecx<'a, 'mir: 'a, 'tcx: 'mir>( tcx: TyCtxt<'a, 'tcx, 'tcx>, main_id: DefId, start_wrapper: Option,