diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-09-17 02:33:27 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-09-17 02:33:27 -0400 |
commit | 4a1d51b98207078fc4b65a6a55f10a34d56c6019 (patch) | |
tree | 6824f5074054e6646f80b21f6e1a8d74f38dbc2e | |
parent | 1544db8bb9fc7b27282bbf0555a45a662930f7b3 (diff) | |
parent | efb59fde92a848e7c92ac5154dd5016580d211d4 (diff) | |
download | servo-4a1d51b98207078fc4b65a6a55f10a34d56c6019.tar.gz servo-4a1d51b98207078fc4b65a6a55f10a34d56c6019.zip |
Merge pull request #3367 from jdm/breakpoint
Add breakpoint utility function.
-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 0c186fdb690..b543df42e80 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -46,3 +46,7 @@ pub mod task; pub mod time; pub mod vec; pub mod workqueue; + +pub fn breakpoint() { + unsafe { ::std::intrinsics::breakpoint() }; +} |