core: Remove a call to breakpoint
from a test
These breakpoints make it difficult to debug coretest
This commit is contained in:
parent
6e6a4be19d
commit
24de5bb649
@ -64,7 +64,7 @@ fn test_simple_deep() {
|
|||||||
if i == 0 { return }
|
if i == 0 { return }
|
||||||
|
|
||||||
for walk_stack |_frame| {
|
for walk_stack |_frame| {
|
||||||
breakpoint();
|
// Would be nice to test something here...
|
||||||
}
|
}
|
||||||
run(i - 1);
|
run(i - 1);
|
||||||
}
|
}
|
||||||
@ -72,24 +72,12 @@ fn test_simple_deep() {
|
|||||||
run(10);
|
run(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn breakpoint() {
|
|
||||||
unsafe {
|
|
||||||
rustrt::rust_dbg_breakpoint()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn frame_address(f: &fn(x: *u8)) {
|
fn frame_address(f: &fn(x: *u8)) {
|
||||||
unsafe {
|
unsafe {
|
||||||
rusti::frame_address(f)
|
rusti::frame_address(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod rustrt {
|
|
||||||
pub extern {
|
|
||||||
pub unsafe fn rust_dbg_breakpoint();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub mod rusti {
|
pub mod rusti {
|
||||||
#[abi = "rust-intrinsic"]
|
#[abi = "rust-intrinsic"]
|
||||||
pub extern "rust-intrinsic" {
|
pub extern "rust-intrinsic" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user