diff options
-rw-r--r-- | components/util/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/util/lib.rs b/components/util/lib.rs index 0d59b21124d..5604364e7af 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -44,3 +44,7 @@ pub mod task; pub mod time; pub mod vec; pub mod workqueue; + +pub fn breakpoint() { + unsafe { ::std::intrinsics::breakpoint() }; +} |