Skip to content

Integer overflow checking #6012

Closed
Closed
@catamorphism

Description

@catamorphism

At various times, the issue of whether we should enable integer overflow checking (meaning that an integer overflow would be a hard failure at runtime rather than silently wrapping around) has come up; most recently, in this mailing list thread. A more specific example (which I'm about to close in favor of this more general bug) is #2470.

We should decide whether we want to address this form of safety in Rust's semantics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions