-
Notifications
You must be signed in to change notification settings - Fork 22
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
Started to update to last rustc version (removing box closure) #177
Conversation
Can you take a look at it @jeremyletang ? |
Bumping this. The alpha is out, so now is a good time to fix these build errors. |
It's kinda difficult to update a code which I didn't write. That's why it's taking so much time. |
No problem. I'll try to help if I get time and can figure anything out. |
It would be very appreciated ! Thanks ! |
I commented out that macro error because I couldn't figure it out, and I continued to fix the other errors (we can come back to it later). My progress is tracked here: https://github.com/gsingh93/rgtk/tree/fix-build One significant change was that |
My plan is to convert all the After fixing a bunch more errors, I'm left with a lot of these errors:
Not sure what the right fix is. Removing the Copy trait might break more things. I don't even know what breaking change this is related to. |
What is the best way to fix the Copy/Drop issues? Specifically what's going on is that we have this macro:
Which creates a widget struct that derives copy, but some widgets also call the |
hi @gsingh93, we can change the macro and remove the |
I think removing the Copy impl is probably the best thing to do, because we shouldn't be copying the pointer without adding to the reference count like we do in My current progress is in this pull request: #180. I think I'm done working on this for a little while, so if either of you want to continue, you can consider starting from there. |
And it's now finished ! @jeremyletang, you can check ! |
Nice! There was a macro in |
For the macro, it'll wait. I'm way too tired for that. Just waiting to get travis answer. |
Started to update to last rustc version (removing box closure)
No description provided.