cargo-miri panic's on no_main binaries #1452
Labels
A-interpreter
Area: affects the core interpreter
C-bug
Category: This is a bug.
E-good-first-issue
A good way to start contributing, mentoring is available
I-ICE
Impact: makes Miri crash with some ICE
While there are many other questions about what miri should do for binaries with
#![no_main]
, the current behavior is to panic. In the spirit of #1001, it would be nice explicitly indicate that miri doesn't support testing freestanding binaries at the moment.An example backtrace
I've attached a backtrace, but any
no_main
binary will crash in a similar manner right now.CC tock/tock#1713
The text was updated successfully, but these errors were encountered: