You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lamellar_world.rs
+1-17Lines changed: 1 addition & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -457,27 +457,11 @@ impl LamellarWorldBuilder {
457
457
pubfnnew() -> LamellarWorldBuilder{
458
458
// simple_logger::init().unwrap();
459
459
// trace!("New world builder");
460
-
let executor = matchconfig().executor.as_str(){
461
-
"tokio" => {
462
-
#[cfg(not(feature = "tokio-executor"))]
463
-
{
464
-
panic!("[LAMELLAR WARNING]: tokio-executor selected but it is not enabled, either recompile lamellar with --features tokio-executor, or set LAMELLAR_EXECUTOR to one of 'lamellar' or 'async_std'");
_ => panic!("[LAMELLAR WARNING]: unexpected executor type, please set LAMELLAR_EXECUTOR to one of the following 'lamellar', 'async_std', or (if tokio-executor feature is enabled, 'tokio'.")
0 commit comments