@bd103@hachyderm.io
@bd103@hachyderm.io avatar

bd103

@bd103@hachyderm.io

Hi! I'm a hobby developer interested in Rust, Bevy, and robotics. Feel free to reach out! (he / him)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

bd103, to bevy
@bd103@hachyderm.io avatar

In #bevy 0.14 some traits such as AssetReader have been converted to use the recently stabilized async fn as compared to returning a BoxedFuture. This change unfortunately makes these traits no longer object safe. To fix this, erased versions of the traits were created (such as ErasedAssetReader) that do support being used with dyn.

I opened https://internals.rust-lang.org/t/add-diagnostic-not-object-safe/20973, which is a proposal to add #[diagnostic::not_object_safe] to point users towards the erased forms. Check it out! #rust

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines