Skip to content

doctests fail with Rust 1.65+: std::borrow::Cow size assumption no longer valid #52

Open
@decathorpe

Description

@decathorpe

As of Rust 1.65.0, many enums are now smaller, probably because of this new optimization:
rust-lang/rust#94075

So as of Rust 1.65.0, std::borrow::Cow is 24 bytes in size, same as beef::Cow (at least on 64-bit architectures, I haven't checked 32-bit architectures).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions