mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 09:57:56 +03:00
wip: restore cargo and remove eprints
This commit is contained in:
parent
95d4023d72
commit
a8ed832f6b
@ -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"
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user