We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mir-semantics/kmir/k-src/mir.md
Line 37 in e0d53af
The above implementation ensures a MIR file always starts with the main function, which is consistent with the rust code execution rules.
main
However, we should allow MIR file to analyse any functions, for example, kmir should be able to execute the add function.
add
In this way, we treat functions as the main unit for analysis rather than the rust code file, enabling more flexibility.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mir-semantics/kmir/k-src/mir.md
Line 37 in e0d53af
The above implementation ensures a MIR file always starts with the
main
function, which is consistent with the rust code execution rules.However, we should allow MIR file to analyse any functions, for example, kmir should be able to execute the
add
function.In this way, we treat functions as the main unit for analysis rather than the rust code file, enabling more flexibility.
The text was updated successfully, but these errors were encountered: