Closed
Bug 1593274
Opened 5 years ago
Closed 7 months ago
Audit wgpu-* dependencies
Categories
(Core :: Graphics: WebGPU, task, P3)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
People
(Reporter: kvark, Unassigned)
References
(Blocks 1 open bug)
Details
Related to bug 1575008, we are vendoring a large dependency tree into m-c. It would be good to have more eyes on some of the crates being vendored, in particular:
- https://github.com/gfx-rs/gfx/, with the focus on "gfx-hal" and Vulkan/Metal/D312 code
- low level API crates https://github.com/gfx-rs/metal-rs/ and https://github.com/gfx-rs/d3d12-rs
- helper crates "gfx-auxil", "storage-map", and "range-alloc"
- https://github.com/amethyst/rendy , only the "rendy-memory" and "rendy-descriptor" crates, which we use
Aside from all of those stands Spirv-cross and our Rust wrapper of it. They also need to be audited, but our long term plan is to eventually remove them.
What aspects of the code need to be looked at:
- safety guarantees
- use of generic bounds and collections (e.g.
IntoIterator
,Borrow
) - use of traits, general type dependency graphs
Reporter | ||
Updated•5 years ago
|
Priority: -- → P3
Summary: Audit wgpu-native dependencies → Audit wgpu-* dependencies
Reporter | ||
Comment 1•5 years ago
|
||
Note that Rendy dependencies were mostly rewritten into https://github.com/gfx-rs/gfx-extras
It can be considered reviewed.
Updated•2 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Blocks: webgpu-phase-2
Updated•8 months ago
|
Blocks: webgpu-triage
Comment 2•7 months ago
|
||
We've been looking at this code for quite a while, and we have been following the cargo vet
rules. I think the grandfathering we've done is probably fine. Closing.
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Updated•7 months ago
|
No longer blocks: webgpu-triage
You need to log in
before you can comment on or make changes to this bug.
Description
•