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

util/libm: replace force_eval! by std::hint::black_box #117

Merged
merged 1 commit into from
Aug 28, 2024

Commits on Aug 28, 2024

  1. util/libm: replace force_eval! by core::hint::black_box

    During an internal review of unsafe code at work, @cramertj noticed
    that the the `force_eval!` can be replaced by `core::hint::black_box`,
    removing the need for unsafe Rust.
    martinvonz committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    54d327e View commit details
    Browse the repository at this point in the history