Open
Description
Feature gate: #![feature(breakpoint)]
This is a tracking issue for the breakpoint
feature, which gates the core::arch::breakpoint
function. This feature was approved in ACP 491.
Public API
// core::arch
/// Compiles to a target-specific software breakpoint instruction or equivalent.
///
/// (Long description elided.)
#[inline(always)]
pub fn breakpoint() {
unsafe {
core::intrinsics::breakpoint();
}
}
Steps / History
- ACP: ACP:
core::arch::breakpoint
libs-team#491 - Implementation: Add
core::arch::breakpoint
and test #133726 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.