Skip to content

Commit

Permalink
remove assert_instr from nvptx
Browse files Browse the repository at this point in the history
it doesn't do the right thing
  • Loading branch information
japaric authored and gnzlbg committed Nov 11, 2018
1 parent 3cc0192 commit 20f7cd2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion coresimd/nvptx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ pub unsafe fn _thread_idx_z() -> i32 {
}

/// Generates the trap instruction `TRAP`
#[cfg_attr(test, assert_instr(trap))]
#[inline]
pub unsafe fn trap() -> ! {
::_core::intrinsics::abort()
Expand Down

0 comments on commit 20f7cd2

Please sign in to comment.