Skip to content
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

README.md false statement #12

Closed
Hezuikn opened this issue May 20, 2022 · 1 comment · Fixed by #13
Closed

README.md false statement #12

Hezuikn opened this issue May 20, 2022 · 1 comment · Fixed by #13

Comments

@Hezuikn
Copy link
Contributor

Hezuikn commented May 20, 2022

"Can not patch anything from std."

#![feature(print_internals)]

fn main() {
    std::mem::forget(guerrilla::patch1(std::io::_print, |_fmt_args|{
        panic!()
    }));
    println!("");
    return;
}

thread 'main' panicked at 'explicit panic', src/main.rs:X:Y

@Hezuikn
Copy link
Contributor Author

Hezuikn commented May 20, 2022

how come?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant