Skip to content

libmimalloc-sys: Differences between version on crates.io and in repo version (0.1.35) #109

Open

Description

@VorpalBlade

Using cargo-goggles I discovered that libmimalloc-sys has differences between the version on crates.io and the version in the repo at the tag v0.1.35:

  • extended.rs differs (more code in repo)
  • c_src differs significantly (different version of bundled mimalloc!)
  • Declared version in Cargo.toml differs

The changes don't seem malicious (and I would assume this is an honest mistake with placing the tag at the wrong commit), but they are somewhat concerning given the recent xz backdoor. I would like an explanation of what is going on here.

Activity

  1. octavonce commented on Apr 23, 2024

    @octavonce
    Collaborator

    I didn't run cargo goggles but at first glance this seems to match this.

    However, I see that v0.1.31 libmimalloc-sys is yanked for some reason I cannot remember now. Which means it would use a later version.

  2. scottlamb commented on Feb 28, 2025

    @scottlamb

    To me it looks like the tag names in the Git repo correspond to crate mimalloc versions. I don't see any tags that directly relate to libmimalloc-sys versions. And there have been more mimalloc releases than libmimalloc-sys releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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