Skip to content

C2Rust Fails with unimplemented __builtin_assume #1834

Description

@jtmorrisbytes

It appears c2rust does not have support for builtin assume.
Im proposing that it work similar to
unsafe {
core::hint::assert_unchecked(x != 0);
}
Im willing to take this on today and submit a pull request.
Can someone assign me contributer Permissions and fill me in
on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions