File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ tracing-subscriber = { workspace = true }
5959[features ]
6060object_store = [" dep:object_store" , " vortex-error/object_store" ]
6161tokio = [" tokio/fs" , " tokio/rt-multi-thread" ]
62+ uring = []
6263
6364[lints ]
6465workspace = true
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ pub mod single;
3838mod smol;
3939#[ cfg( feature = "tokio" ) ]
4040pub mod tokio;
41- #[ cfg( not( target_arch = "wasm32" ) ) ]
41+ #[ cfg( all ( not( target_arch = "wasm32" ) , feature = "uring" , target_os = "linux ") ) ]
4242pub mod uring;
4343#[ cfg( target_arch = "wasm32" ) ]
4444pub mod wasm;
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ pub trait RuntimeSessionExt: SessionExt {
5555
5656 /// Configure the runtime session to use a dispatching handle that round-robins across the
5757 /// provided handles. Useful for thread-per-core runtimes.
58+ #[ cfg( all( not( target_arch = "wasm32" ) , feature = "uring" , target_os = "linux" ) ) ]
5859 fn with_dispatching_handles ( self , handles : Vec < Handle > ) -> Self {
5960 self . get_mut :: < RuntimeSession > ( ) . handle =
6061 Some ( crate :: runtime:: uring:: dispatching_handle ( & handles) ) ;
You can’t perform that action at this time.
0 commit comments