Support miri-specific entry point / start function for no-std binaries #3758
Labels
A-target
Area: concerns targets outside of what we currently support
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
E-good-first-issue
A good way to start contributing, mentoring is available
For no-std binaries, Miri currently relies on the
start
feature, but that feature doesn't really make a lot of sense and should likely be removed. It also causes confusion for Miri users.So we should instead say that in a no-std binary, we Miri will start the program by jumping to a function with link_name
miri_start
, and then if someone has a no-std binary they want to run in Miri, they can add something likeThe text was updated successfully, but these errors were encountered: