diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-10-15 01:04:12 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-10-16 20:20:21 +0200 |
commit | 27239e1123303129bb48d976e71bb79aad3fa5e3 (patch) | |
tree | 578f1c68260d17f710a42e0adb0fa87651363e69 /components/script/dom/window.rs | |
parent | bffec1c1a1ff55f47e88a2df60bd574b57205aec (diff) | |
download | servo-27239e1123303129bb48d976e71bb79aad3fa5e3.tar.gz servo-27239e1123303129bb48d976e71bb79aad3fa5e3.zip |
Make usage of core_intrinsics optional
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 1e4bf803427..136eb86c03b 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -805,6 +805,7 @@ impl WindowMethods for Window { #[allow(unsafe_code)] fn Trap(&self) { + #[cfg(feature = "unstable")] unsafe { ::std::intrinsics::breakpoint() } } |