Skip to content

Commit 96ab4a8

Browse files
authored
Rollup merge of rust-lang#55062 - bjorn3:ecx-step-public, r=oli-obk
Make EvalContext::step public again This is needed for priroda Fixes rust-lang#55061
2 parents 8e42f01 + 8a228fd commit 96ab4a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_mir/interpret/step.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
5252
}
5353

5454
/// Returns true as long as there are more things to do.
55-
fn step(&mut self) -> EvalResult<'tcx, bool> {
55+
///
56+
/// This is used by [priroda](https://github.com/oli-obk/priroda)
57+
pub fn step(&mut self) -> EvalResult<'tcx, bool> {
5658
if self.stack.is_empty() {
5759
return Ok(false);
5860
}

0 commit comments

Comments
 (0)