File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -286,5 +286,8 @@ lto = "fat"
286
286
codegen-units = 1
287
287
incremental = false
288
288
289
+ [profile .release ]
290
+ debug-info = true
291
+
289
292
[patch .crates-io ]
290
293
quick-protobuf = { git = " https://github.com/sigp/quick-protobuf.git" , rev = " 681f413312404ab6e51f0b46f39b0075c6f4ebfd" }
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ beacon-node-redb = ["store/redb"]
33
33
jemalloc = []
34
34
35
35
[target .'cfg(not(target_os = "windows"))' .dependencies ]
36
- malloc_utils = { workspace = true , features = [" jemalloc " ] }
36
+ malloc_utils = { workspace = true , features = [] }
37
37
38
38
[target .'cfg(target_os = "windows")' .dependencies ]
39
39
malloc_utils = { workspace = true }
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ fn bls_hardware_acceleration() -> bool {
72
72
}
73
73
74
74
fn allocator_name ( ) -> String {
75
- #[ cfg( target_os = "windows" ) ]
75
+ #[ cfg( any ( not ( feature = "jemalloc" ) , target_os = "windows" ) ) ]
76
76
{
77
77
"system" . to_string ( )
78
78
}
79
- #[ cfg( not( target_os = "windows" ) ) ]
79
+ #[ cfg( all ( feature = "jemalloc" , not( target_os = "windows" ) ) ) ]
80
80
match malloc_utils:: jemalloc:: page_size ( ) {
81
81
Ok ( page_size) => format ! ( "jemalloc ({}K)" , page_size / 1024 ) ,
82
82
Err ( e) => format ! ( "jemalloc (error: {e:?})" ) ,
You can’t perform that action at this time.
0 commit comments