There was an error while loading. Please reload this page.
#[track_caller]
1 parent 7c176da commit 6e9c21dCopy full SHA for 6e9c21d
1 file changed
zjit/src/cruby.rs
@@ -1314,6 +1314,7 @@ pub mod test_utils {
1314
}
1315
1316
/// Like inspect, but also asserts that all compilations triggered by this program succeed.
1317
+ #[track_caller]
1318
pub fn assert_compiles_allowing_exits(program: &str) -> String {
1319
use crate::state::ZJITState;
1320
ZJITState::enable_assert_compiles();
@@ -1324,6 +1325,7 @@ pub mod test_utils {
1324
1325
1326
/// Like inspect, but also asserts that all compilations triggered by this program succeed and
1327
/// no side exits occurr during the program.
1328
1329
pub fn assert_compiles(program: &str) -> String {
1330
1331
let exits_before = crate::stats::total_exit_count();
0 commit comments