Skip to content

Commit 24de5bb

Browse files
committed
core: Remove a call to breakpoint from a test
These breakpoints make it difficult to debug coretest
1 parent 6e6a4be commit 24de5bb

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/libcore/stackwalk.rs

+1-13
Original file line numberDiff line numberDiff line change
@@ -64,32 +64,20 @@ fn test_simple_deep() {
6464
if i == 0 { return }
6565

6666
for walk_stack |_frame| {
67-
breakpoint();
67+
// Would be nice to test something here...
6868
}
6969
run(i - 1);
7070
}
7171

7272
run(10);
7373
}
7474

75-
fn breakpoint() {
76-
unsafe {
77-
rustrt::rust_dbg_breakpoint()
78-
}
79-
}
80-
8175
fn frame_address(f: &fn(x: *u8)) {
8276
unsafe {
8377
rusti::frame_address(f)
8478
}
8579
}
8680

87-
pub mod rustrt {
88-
pub extern {
89-
pub unsafe fn rust_dbg_breakpoint();
90-
}
91-
}
92-
9381
pub mod rusti {
9482
#[abi = "rust-intrinsic"]
9583
pub extern "rust-intrinsic" {

0 commit comments

Comments
 (0)