-
Notifications
You must be signed in to change notification settings - Fork 317
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
Depending on Penumbra requires building with tokio-unstable #3856
Comments
Word. Unfortunately, that's not an option for us, because the builder interface uses unstable APIs, and the use of unstable APIs in tokio mandates use of rustflags:
All this isn't worth the trouble. What we get for using the Builder interface is nicely "named" tasks, which would allow the tokio console output to be a lot more meaningful during debugging. Given the downstream friction this creates, it's not worthwhile, so let's just move away from the Builder interface entirely, reconsidering it if and when it stabilizes. There's a bit of context in discord. |
@erwanor has pointed out OOB that it is technically possible that we could feature-gate this functionality, but we all agree we don't want to perform those gymnastics, and we're happier just ripping it out. |
Done in #4169 |
Experience report depending on penumbra libraries (
-proto
and-governance
) externally to the mono-repo: in order to avoid build errors related to use oftokio::task::Builder
incnidarium
(and possibly elsewhere?) I have to create a.cargo/config.toml
with:Ideally I wouldn't have to do this, and the use of the task builder interface would be feature-gated so that I just lose out on the ability to get good task introspection in tokio-console if I don't do this, rather than getting a build-time failure in a dependency.
The text was updated successfully, but these errors were encountered: