Skip to content
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

rendy-resource errors while compiling #104

Closed
overjarko opened this issue Apr 16, 2019 · 3 comments
Closed

rendy-resource errors while compiling #104

overjarko opened this issue Apr 16, 2019 · 3 comments

Comments

@overjarko
Copy link

Creating a new lib via cargo, adding rendy as dependency and building(with the nightly version) it gives me the following error while compiling rendy-resource: E0308

expected type &<B as gfx_hal::Backend>::Device
found type &impl gfx_hal::Device<B>

I am pretty new to rust and rendy, so it may just be a stupid mistake on my side.

@zakarumych
Copy link
Member

It seems rendy-memory 0.1.1 introduced breaking changes. Yanked. You can do cargo update and then build with rendy-memory 0.1.0

@zakarumych
Copy link
Member

You can build with git dependency as well, there are plenty of changes so you would better not rewrite your code once 0.2 released.

@overjarko
Copy link
Author

Updating to 0.1.0 worked. Great thanks for the fast respond!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants