Skip to content

Conversation

@kim
Copy link
Contributor

@kim kim commented Jul 24, 2025

We run cargo update in CI before testing the bindings, in order to
catch dependency issues for library users (which don't get dependency
pinning via our Cargo.lock file).

This turned up two issues, resolved here:

  • jemalloc_pprof depends on pprof_util both directly and indirectly
    via mappings. Using the ^0.7 version constraint causes conflicting
    versions of pprof_util to be resolved.

    Upgrade to ^0.8 to resolve the issue.

  • tempfile started to mark TempDir::into_path as deprecated in favor
    of the newly exported TempDir::keep, so bump to the latest version
    (recall that 3.20 is semver-compatible with 3.8).

Expected complexity level and risk

1

Testing

  • "Build and test wasm bindings" CI check should pass

We run `cargo update` in CI before testing the bindings, in order to
catch dependency issues for library users (which don't get dependency
pinning via our `Cargo.lock` file).

This turned up two issues, resolved here:

- `jemalloc_pprof` depends on `pprof_util` both directly and indirectly
  via `mappings`. Using the `^0.7` version constraint causes conflicting
  versions of `pprof_util` to be resolved.

  Upgrade to `^0.8` to resolve the issue.

- `tempfile` started to mark `TempDir::into_path` as deprecated in favor
  of the newly exported `TempDir::keep`, so bump to the latest version
  (recall that `3.20` is semver-compatible with `3.8`).
@kim kim requested review from bfops and jsdt July 24, 2025 09:06
@kim kim added this pull request to the merge queue Jul 24, 2025
Merged via the queue into master with commit 61b54ef Jul 24, 2025
25 of 26 checks passed
@kim kim deleted the kim/crate-updates branch July 24, 2025 16:27
Shubham8287 pushed a commit that referenced this pull request Jul 28, 2025
mamcx pushed a commit that referenced this pull request Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants