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

move examples to their own crate #230

Closed
wants to merge 2 commits into from

Conversation

boringcactus
Copy link

@boringcactus boringcactus commented Oct 25, 2019

fixes #226

i'm not quite sure how features should be handled in both examples and rendy; if there's a better way to handle that than what i've done, let me know

the examples don't actually run for me on dx12, both on master and after these changes, because the assert at https://github.com/gfx-rs/gfx/blob/3d5db15661127c8cad8d85522a68ec36c82f6e69/src/backend/dx12/src/pool.rs#L102 fails.

EDIT: they run for a short time on vulkan and then crash with a STATUS_ACCESS_VIOLATION, but that shouldn't be a result of any of this.

@ezpuzz
Copy link
Collaborator

ezpuzz commented Dec 22, 2020

I find this more confusing as you can no longer use cargo run --example triangle which is ecosystem standard. I believe the original confusion was just where to find the examples? I think we could take the approach that amethyst does and instead of a top level virtual workspace use an actual top level package (rendy) and keep examples at the top of repo.

@ezpuzz ezpuzz closed this Dec 22, 2020
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

Successfully merging this pull request may close these issues.

Convert examples into crates with binaries
2 participants