rust-lang / miri

An interpreter for Rust's mid-level intermediate representation
Apache License 2.0
4.16k stars 318 forks source link

intrinsics: just panic when they get used incorrectly #3604

Closed RalfJung closed 1 month ago

RalfJung commented 1 month ago

This is already what we do most of the time, so do it consistently.

RalfJung commented 1 month ago

@bors r+

bors commented 1 month ago

:pushpin: Commit 792876b52d66c7cbe76275946255ec60381dfe5d has been approved by RalfJung

It is now in the queue for this repository.

bors commented 1 month ago

:hourglass: Testing commit 792876b52d66c7cbe76275946255ec60381dfe5d with merge 35cbdf88d1d0e3d3eae33fa049fc0eb13a7ab5a5...

bors commented 1 month ago

:sunny: Test successful - checks-actions Approved by: RalfJung Pushing 35cbdf88d1d0e3d3eae33fa049fc0eb13a7ab5a5 to master...