We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
breakpoint
1 parent 6e6a4be commit 24de5bbCopy full SHA for 24de5bb
src/libcore/stackwalk.rs
@@ -64,32 +64,20 @@ fn test_simple_deep() {
64
if i == 0 { return }
65
66
for walk_stack |_frame| {
67
- breakpoint();
+ // Would be nice to test something here...
68
}
69
run(i - 1);
70
71
72
run(10);
73
74
75
-fn breakpoint() {
76
- unsafe {
77
- rustrt::rust_dbg_breakpoint()
78
- }
79
-}
80
-
81
fn frame_address(f: &fn(x: *u8)) {
82
unsafe {
83
rusti::frame_address(f)
84
85
86
87
-pub mod rustrt {
88
- pub extern {
89
- pub unsafe fn rust_dbg_breakpoint();
90
91
92
93
pub mod rusti {
94
#[abi = "rust-intrinsic"]
95
pub extern "rust-intrinsic" {
0 commit comments