Skip to content
This repository was archived by the owner on Jun 18, 2021. It is now read-only.

Remove typed-arena dependency#720

Merged
bors[bot] merged 1 commit intogfx-rs:masterfrom
kvark:update
Jan 20, 2021
Merged

Remove typed-arena dependency#720
bors[bot] merged 1 commit intogfx-rs:masterfrom
kvark:update

Conversation

@kvark
Copy link
Copy Markdown
Member

@kvark kvark commented Jan 20, 2021

Also bumps the wgpu dependency to include gfx-rs/wgpu#1160

@kvark kvark requested a review from cwfitzgerald January 20, 2021 03:04
Copy link
Copy Markdown

@monocodus monocodus bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an autogenerated code review.

Checker summary (by rust_clippy):
The tool has found 2 warnings, 6 errors.

The .monocodus config not found in your repo. Default config is used.
Check config documentation here

use wgc::binding_model as bm;

let texture_view_arena: Arena<wgc::id::TextureViewId> = Arena::new();
let mut arrayed_texture_views = Vec::new();
Copy link
Copy Markdown
Member

@cwfitzgerald cwfitzgerald Jan 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It kinda pains me to allocate this without a with_capacity on the computable max size, but it's good enough for now.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed! There are things to try, but they involve unsafe one way or the other.... Let's leave for a follow-up

@kvark
Copy link
Copy Markdown
Member Author

kvark commented Jan 20, 2021

bors r=cwfitzgerald

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Jan 20, 2021

@bors bors bot merged commit 7273dba into gfx-rs:master Jan 20, 2021
@kvark kvark deleted the update branch January 20, 2021 06:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants