Skip to content

Commit

Permalink
fix msvc build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Pyattaev committed Jan 17, 2025
1 parent ef7993b commit 55cb3b8
Show file tree
Hide file tree
Showing 8 changed files with 109 additions and 52 deletions.
84 changes: 42 additions & 42 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion memory-management/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ edition = { workspace = true }

[dependencies]
arrayvec = { workspace = true }
jemallocator = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
memchr = "2.7.4"
solana-metrics = { workspace = true }

[target.'cfg(not(any(target_env = "msvc", target_os = "freebsd")))'.dependencies]
jemallocator = { workspace = true }
1 change: 1 addition & 0 deletions memory-management/src/jemalloc_monitor.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(not(any(target_env = "msvc", target_os = "freebsd")))]
use {
jemallocator::Jemalloc,
std::{
Expand Down
Loading

0 comments on commit 55cb3b8

Please sign in to comment.