File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ serde_json = "1.0.23"
59
59
termcolor = " 1.1.0"
60
60
textwrap = { version = " 0.16.0" , default-features = false }
61
61
62
- [target .'cfg(all(target_env = "musl", target_pointer_width = "64"))' .dependencies .jemallocator ]
62
+ [target .'cfg(all(not(target_arch = "riscv64"), target_env = "musl", target_pointer_width = "64"))' .dependencies .jemallocator ]
63
63
version = " 0.5.0"
64
64
65
65
[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -35,7 +35,11 @@ mod search;
35
35
//
36
36
// Moreover, we only do this on 64-bit systems since jemalloc doesn't support
37
37
// i686.
38
- #[ cfg( all( target_env = "musl" , target_pointer_width = "64" ) ) ]
38
+ #[ cfg( all(
39
+ not( target_arch = "riscv64" ) ,
40
+ target_env = "musl" ,
41
+ target_pointer_width = "64"
42
+ ) ) ]
39
43
#[ global_allocator]
40
44
static ALLOC : jemallocator:: Jemalloc = jemallocator:: Jemalloc ;
41
45
You can’t perform that action at this time.
0 commit comments