File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ use datafusion::error::Result;
20
20
21
21
use structopt:: StructOpt ;
22
22
23
+ #[ cfg( all( feature = "snmalloc" , feature = "mimalloc" ) ) ]
24
+ compile_error ! (
25
+ "feature \" snmalloc\" and feature \" mimalloc\" cannot be enabled at the same time"
26
+ ) ;
27
+
23
28
#[ cfg( feature = "snmalloc" ) ]
24
29
#[ global_allocator]
25
30
static ALLOC : snmalloc_rs:: SnMalloc = snmalloc_rs:: SnMalloc ;
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ use datafusion::error::Result;
21
21
use datafusion_benchmarks:: tpch;
22
22
use structopt:: StructOpt ;
23
23
24
+ #[ cfg( all( feature = "snmalloc" , feature = "mimalloc" ) ) ]
25
+ compile_error ! (
26
+ "feature \" snmalloc\" and feature \" mimalloc\" cannot be enabled at the same time"
27
+ ) ;
28
+
24
29
#[ cfg( feature = "snmalloc" ) ]
25
30
#[ global_allocator]
26
31
static ALLOC : snmalloc_rs:: SnMalloc = snmalloc_rs:: SnMalloc ;
You can’t perform that action at this time.
0 commit comments