Skip to content

Cannot build on older Rust version #118

@Piletskii-Oleg

Description

@Piletskii-Oleg

The MSRV is set to be 1.71 in Cargo.toml, but std::mem::size_of was only added to standard prelude in 1.80. It is used without a prefix or import in linked_slab.rs which prohibits using this crate as a dependency for rust projects with MSRV lower than 1.80.

Found this out by trying to use it for a 1.75 project

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