Skip to content

Commit

Permalink
Use turbo-tasks-malloc on all platforms
Browse files Browse the repository at this point in the history
This was previously disabled on aarch64-unknown-linux-musl and wasm,
due to compilation errors.

I moved the logic to disable mimalloc on these platforms into the
turbo-tasks-malloc crates in vercel/turborepo#8462

In addition to centralizing mimalloc platform support logic, this means
that we can get allocation data from these platforms while using the
system allocator.
  • Loading branch information
bgw committed Jun 14, 2024
1 parent 1b93f36 commit 17c5119
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 77 deletions.
82 changes: 41 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ swc_core = { version = "0.93.4", features = [
testing = { version = "0.35.25" }

# Turbo crates
turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240612.3" }
turbopack-binding = { git = "https://github.com/vercel/turbo.git", branch = "bgw/mimalloc-updates" }
# [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros..
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240612.3" }
turbo-tasks = { git = "https://github.com/vercel/turbo.git", branch = "bgw/mimalloc-updates" }
# [TODO]: need to refactor embed_directory! macro usage in next-core
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240612.3" }
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", branch = "bgw/mimalloc-updates" }

# General Deps

Expand Down
Loading

0 comments on commit 17c5119

Please sign in to comment.