mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove Servo window.trap()
extension (#30743)
This Servo-specific extension is unused by any code in the repository and removing it allows us to remove use of nightly only reliance on rust intrinsics. This is a step toward supporting stable rust.
This commit is contained in:
parent
378fdbe225
commit
50732b49c5
3 changed files with 0 additions and 8 deletions
|
@ -1102,11 +1102,6 @@ impl WindowMethods for Window {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
fn Trap(&self) {
|
||||
unsafe { ::std::intrinsics::breakpoint() }
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
fn Js_backtrace(&self) {
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue