deno
当我尝试运行或时出现以下错误deno repl
:
thread 'main' panicked at 'Core threads number cannot be above max limit', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.9/src/runtime/builder.rs:451:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
如果我运行RUST_BACKTRACE=1 deno
我会得到这个:
thread 'main' panicked at 'Core threads number cannot be above max limit', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.9/src/runtime/builder.rs:451:13
stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
1: backtrace::backtrace::trace_unsynchronized
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
2: std::sys_common::backtrace::_print_fmt
at src/libstd/sys_common/backtrace.rs:77
3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
at src/libstd/sys_common/backtrace.rs:61
4: core::fmt::write
at src/libcore/fmt/mod.rs:1028
5: std::io::Write::write_fmt
at src/libstd/io/mod.rs:1412
6: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:65
7: std::sys_common::backtrace::print
at src/libstd/sys_common/backtrace.rs:50
8: std::panicking::default_hook::{{closure}}
at src/libstd/panicking.rs:188
9: std::panicking::default_hook
at src/libstd/panicking.rs:205
10: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:464
11: std::panicking::begin_panic
12: tokio::runtime::builder::Builder::build
13: deno::tokio_util::run
14: deno::main
15: std::rt::lang_start::{{closure}}
16: std::rt::lang_start_internal::{{closure}}
at src/libstd/rt.rs:48
17: std::panicking::try::do_call
at src/libstd/panicking.rs:287
18: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:78
19: std::panicking::try
at src/libstd/panicking.rs:265
20: std::panic::catch_unwind
at src/libstd/panic.rs:396
21: std::rt::lang_start_internal
at src/libstd/rt.rs:47
22: main
23: __libc_start_main
24: _start
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
我的操作系统是Deepin Linux 15.11
,deno
版本0.31.0