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
module.rs:
fn lifetime_1(a, b: 'a) { a.b = b }
loader.rs:
fn main() { a := {b: [0]} loop { b := [2] m := load("source/module.dyon") call(m, "lifetime_1", [a, b]) break } println(a.b) }
This causes unsafe behavior because the lifetime of b is not checked.
b
The text was updated successfully, but these errors were encountered:
Added runtime lifetime checker
e2ce8c5
Closes PistonDevelopers#55 Perform runtime lifetime checking on arguments when calling a function on a loaded module.
bvssvni
No branches or pull requests
module.rs:
loader.rs:
This causes unsafe behavior because the lifetime of
b
is not checked.The text was updated successfully, but these errors were encountered: