-
Notifications
You must be signed in to change notification settings - Fork 17
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
Hygienic bug in macro #16
Comments
Thanks for pointing that out, I just pushed 34acff4 please let me know if that addresses your issue. |
Yes, it should do the trick. |
Voultapher
added a commit
that referenced
this issue
Aug 3, 2021
This release brings 2 core changes: - `panic` inside a builder function no longer causes a memory leak. This means that the previously documented workaround using `try_new` and `catch_unwind` has become obsolete and the relevant example has been deleted. - Limited support for owners with non static lifetimes. This mostly works with the exception of automatic derives, due to technical limitations (aka I can't figure out how to do it). Bug fixes: - An esoteric edge case could cause UB, see bb2f502 for more details. - Defining your own Result could break the macro due to hygiene issues, see #16 (comment). In addition a set of benchmarks comparing `self_cell` to `ouroboros` have been added, see `benchmarks` directory.
I just released a new version which includes this fix https://github.com/Voultapher/self_cell/releases/tag/v0.9.1 |
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
self_cell doesn't allow a custom result export:
The text was updated successfully, but these errors were encountered: