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
The BuildContext mainly consists of WorkCache, and that is not needed for commands like "rustpkg init". Therefore it would be nice to initialize BuildContext later in the build process.
Right now "rustpkg init" calls a method on the trait CtxMethods which is implemented by BuildContext, so you cannot run "rustpkg init" without initializing BuildContexts, so we should start out replacing the methods of CtxMethods with functions.
This issue keeps track of the work and resulting cleanups.
PS: I started out trying to do everything in one pull request, but it became a little too long so I retracted it again #11379
The text was updated successfully, but these errors were encountered:
Auto deref does not apply on union field
changelog: [`explicit_auto_deref`]: do not suggest propose to auto-dereference an union field
Fixrust-lang#11474
The BuildContext mainly consists of WorkCache, and that is not needed for commands like "rustpkg init". Therefore it would be nice to initialize BuildContext later in the build process.
Right now "rustpkg init" calls a method on the trait CtxMethods which is implemented by BuildContext, so you cannot run "rustpkg init" without initializing BuildContexts, so we should start out replacing the methods of CtxMethods with functions.
This issue keeps track of the work and resulting cleanups.
PS: I started out trying to do everything in one pull request, but it became a little too long so I retracted it again #11379
The text was updated successfully, but these errors were encountered: