This website works better with JavaScript.
Home
Explore
Help
Sign In
er1n
/
sparkle
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add a hlt-loop in _Unwind_Resume()
master
3moon
8 years ago
parent
65761dc384
commit
600ffccf1a
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
src/lib.rs
+ 1
- 2
src/lib.rs
View File
@ -51,6 +51,5 @@ pub extern fn panic_fmt(fmt: core::fmt::Arguments, file: &'static str, line: u32
#[
allow(non_snake_case)
]
#[
no_mangle
]
pub
extern
"C"
fn
_Unwind_Resume
(
)
->
!
{
// we should hlt here
loop
{
}
unsafe
{
loop
{
x86
::
shared
::
halt
(
)
;
}
}
;
}
Write
Preview
Loading…
Cancel
Save