Skip to content

time::since_epoch test crashes with overflow when debug assertions are enabled #32268

Closed
@aturon

Description

@aturon

On Mac OS, I get the following when building with --enable-debug-assertions:

---- time::tests::since_epoch stdout ----
thread 'time::tests::since_epoch' panicked at 'arithmetic operation overflowed', src/libstd/sys/unix/time.rs:91

We should track down what's going on with this test, and get the builders enabling debug assertions in general to catch this kind of problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions