wip: restore cargo and remove eprints

This commit is contained in:
Matthew LeVan 2024-01-23 14:25:03 -05:00
parent 95d4023d72
commit a8ed832f6b
2 changed files with 2 additions and 4 deletions

View File

@ -18,8 +18,8 @@ ares_macros = { path = "../ares_macros" }
# ares_pma = { path = "../ares_pma", features=["debug_prints"] } # ares_pma = { path = "../ares_pma", features=["debug_prints"] }
ares_pma = { path = "../ares_pma" } ares_pma = { path = "../ares_pma" }
# use this when debugging requires allocation (e.g. eprintln) # use this when debugging requires allocation (e.g. eprintln)
assert_no_alloc = { path = "../rust-assert-no-alloc", features=["warn_debug"] } # assert_no_alloc = { path = "../rust-assert-no-alloc", features=["warn_debug"] }
# assert_no_alloc = { path = "../rust-assert-no-alloc" } assert_no_alloc = { path = "../rust-assert-no-alloc" }
bitvec = "1.0.0" bitvec = "1.0.0"
criterion = "0.4" criterion = "0.4"
either = "1.9.0" either = "1.9.0"

View File

@ -507,9 +507,7 @@ pub fn interpret(context: &mut Context, mut subject: Noun, formula: Noun) -> Res
let nock = assert_no_alloc(|| { let nock = assert_no_alloc(|| {
ensure_alloc_counters(|| { ensure_alloc_counters(|| {
let work_closure = &mut || unsafe { let work_closure = &mut || unsafe {
eprint!("ares: entered closure\r\n");
push_formula(&mut context.stack, formula, true)?; push_formula(&mut context.stack, formula, true)?;
eprint!("ares: pushed formula\r\n");
loop { loop {
let work: NockWork = *context.stack.top(); let work: NockWork = *context.stack.top();