Closed Bug 1606077 Opened 4 years ago Closed 4 years ago

wgpu-core/src/device.rs: clippy is complaining on some not_unsafe_ptr_arg_deref issue

Categories

(Core :: Graphics: WebGPU, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: Sylvestre, Assigned: kvark)

References

Details

Attachments

(1 file)

$ cargo clippy  --manifest-path gfx/wgpu/wgpu-native/Cargo.toml

/home/sylvestre/dev/mozilla/mozilla-central.hg/wgpu-core/src/device.rs
  849:18  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  854:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
Component: Source Code Analysis → Graphics: WebGPU
Product: Firefox Build System → Core
Assignee: nobody → dmalyshau
Priority: -- → P3

Address most wgpu clippy warnings

Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f5be3650e6c6
Address clippy safety error in device_create_buffer_mapped r=jrmuizel
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

Merci!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: