-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from dialoguer
to inquire
#511
Comments
What cargo command do you use that fails? I tried both Have you tried |
Same specs, M1, 1.76 stable. I did a cargo clean. It's hard for me to figure out. Vello runs, it's just the with_winit example that didn't. Not sure if that's CI tested. It's also new behavior... not sure when exactly or what caused it. Either way, I don't think there's a good reason not to switch. :) |
Does |
It happens when compiling
|
Very curious indeed. I have reasonable confidence that this is not a general problem with the source code, as evidenced by it compiling fine on a bunch of macOS systems. Smells more like a Rust toolchain bug, maybe somehow related to the new parallelism work, in which case the manifestation may depend on a certain number of threads being used. Sure we can "fix" it by merging #512 but we can easily end up depending on |
I can't compile vello anymore on 1.76 stable for very strange reasons related to
lazy_static
, see console-rs/dialoguer#306dialoguer
is less maintained, less stars, etc. thaninquire
, and dialoguer never made the change toonce_cell
and I think in recent versions of rust (1.75+?) a dep with lifetimes in lazy_static are no longer producing macro-expansion that is valid.The issue is simple... replace dialoguer with inquire. Should take 5 minutes, but I wanted to explain the purpose here.
We only use
dialoguer
on native to assist with downloads, which we could easily replace with the "Confirm" equivalent on inquire: https://github.com/mikaelmello/inquire?tab=readme-ov-file#ConfirmThe text was updated successfully, but these errors were encountered: