yeah you can’t pass drop/dtor types by value the abi doesn’t work
Right now our workaround is to do, `mod diesel { __diesel_use_everything!(); }`, and then `self::diesel` everywhere... The macro is just `use $crate::*`. It's been interesting to see this hack evolve over time.
-
-
Originally this was all to support `use diesel as foo`, but now that happens at the cargo level and there's literally no way to support it so we just don't care about that use case anymore (tbh it was a weak use case to begin with)
-
(sorry for the unsolicited ramble)
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.