-
Notifications
You must be signed in to change notification settings - Fork 386
Support #[start]
#1825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Interesting, so
|
It's not the Lines 195 to 199 in ef99830
|
Ah, right. And then we pass a pointer to the main function. That one must indeed have no arguments or else the call you are citing above will not even be well-typed. |
The
start
feature allows to mark a function as the entry point and override thestart
lang item. It's currently not supported in Miri:https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=b867b78dd787c573bdfb44c88fa856dc
miri/src/eval.rs
Line 110 in ef99830
The text was updated successfully, but these errors were encountered: