diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-07-06 12:04:24 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-07-06 12:20:47 +0200 |
commit | 5f2d5ef74861b05480bd18fc0d65e19d435b2736 (patch) | |
tree | 86c159d5c2b9308a2ff75c6f1086da4e1f3dedd3 /components/util/lib.rs | |
parent | 23f5264e1c0b48ed0b04defdaa070a4336781d95 (diff) | |
download | servo-5f2d5ef74861b05480bd18fc0d65e19d435b2736.tar.gz servo-5f2d5ef74861b05480bd18fc0d65e19d435b2736.zip |
Remove util::breakpoint
Diffstat (limited to 'components/util/lib.rs')
-rw-r--r-- | components/util/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/components/util/lib.rs b/components/util/lib.rs index 15fdaa5f332..6ffa4a4a2b5 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#![cfg_attr(feature = "servo", feature(core_intrinsics))] #![cfg_attr(feature = "servo", feature(custom_derive))] #![cfg_attr(feature = "servo", feature(fnbox))] #![cfg_attr(feature = "servo", feature(plugin))] @@ -41,12 +40,6 @@ pub mod resource_files; pub mod thread; pub mod thread_state; -#[cfg(feature = "servo")] -#[allow(unsafe_code)] -pub fn breakpoint() { - unsafe { ::std::intrinsics::breakpoint() }; -} - // Workaround for lack of `ptr_eq` on Arcs... #[inline] pub fn arc_ptr_eq<T: 'static>(a: &Arc<T>, b: &Arc<T>) -> bool { |