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"
286286codegen-units = 1
287287incremental = false
288288
289+ [profile .release ]
290+ debug-info = true
291+
289292[patch .crates-io ]
290293quick-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"]
3333jemalloc = []
3434
3535[target .'cfg(not(target_os = "windows"))' .dependencies ]
36- malloc_utils = { workspace = true , features = [" jemalloc " ] }
36+ malloc_utils = { workspace = true , features = [] }
3737
3838[target .'cfg(target_os = "windows")' .dependencies ]
3939malloc_utils = { workspace = true }
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ fn bls_hardware_acceleration() -> bool {
7272}
7373
7474fn allocator_name ( ) -> String {
75- #[ cfg( target_os = "windows" ) ]
75+ #[ cfg( any ( not ( feature = "jemalloc" ) , target_os = "windows" ) ) ]
7676 {
7777 "system" . to_string ( )
7878 }
79- #[ cfg( not( target_os = "windows" ) ) ]
79+ #[ cfg( all ( feature = "jemalloc" , not( target_os = "windows" ) ) ) ]
8080 match malloc_utils:: jemalloc:: page_size ( ) {
8181 Ok ( page_size) => format ! ( "jemalloc ({}K)" , page_size / 1024 ) ,
8282 Err ( e) => format ! ( "jemalloc (error: {e:?})" ) ,
You can’t perform that action at this time.
0 commit comments