You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debuginfo for build dependencies is now off if not explicitly set. This is expected to improve the overall build time. #11252
That Cargo change means that when the playground image is built with its hundreds of dependencies, the subset of them which were not build dependencies are built with debug = true. However when a user later runs a build in the playground containing a proc macro, those same hundreds of dependencies would now be treated by Cargo as build dependencies, because they are dependencies of a proc macro now, resulting in a different setting for debuginfo and unable to reuse the precompiled copies.
To reuse the same prebuilt crates as both ordinary dependencies and dependencies of a macro, both would need to be set to build with the same setting for debuginfo
Cargo now [turns off debug symbols for build dependencies by
default][1], but that doesn't allow us to reuse those built
dependencies when building a proc-macro.
Fixes#928
[1]: rust-lang/cargo#11252
No description provided.
The text was updated successfully, but these errors were encountered: