Trying to install nu with: cargo install nu command but failed with the error message:
error: reached the type-length limit while instantiating `std::thread::LocalKey::<std::syn...:Vec<nu_protocol::value::Value>>`
|
= note: consider adding a `#![type_length_limit="4391720"]` attribute to your crate
error: aborting due to previous error
error: could not compile `nu_plugin_sys`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `nu v0.15.0`, intermediate artifacts can be found at `/tmp/cargo-installBCH9sW`
Caused by:
build failed
What do I do wrong?
Configuration (please complete the following information):
@ProgrammingLife - you'll need to update your rustc to the latest stable version. They recently fixed the limits to make it work better with async Rust code.
@ProgrammingLife, were you able to get Nu installed?
I'm going to go ahead and close this issue for now. @ProgrammingLife, if you are still having issues installing Nushell through cargo install nu, feel free to open up another issue.
Most helpful comment
@ProgrammingLife - you'll need to update your
rustcto the latest stable version. They recently fixed the limits to make it work better with async Rust code.