error: reached the type-length limit while instant...
# development
f
error: reached the type-length limit while instantiating
std::pin::Pin::<&mut std::future...::Future>::poll::{{closure}}#0]>
— any advice on dealing with errors like that?
w
increase the type length limit
f
I saw that suggestion. That is okay to do?
and now I’m not seeing that error after doing
./pants --version
for the side effect of building the engine
w
it shouldn’t be affected by sideeffects, but it might be context specific
f
never mind, this recompile is where I boxed the stream in question
so type length limited again
w
afaict, large types are an unsolved problem in the ecosystem. there are some changes to the compiler to make them smaller, and some folks introduce boxes to shrink things
f
ugh but
cargo build
when run from under src/rust/engine has the type-length issue