alexcrichton / alexcrichton/scoped-tls

Starting in Rust 1.65 unsafe_op_in_unsafe_fn lints

Đang mở
#21 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
65
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello, in wayland-rs, we use forbid(unsafe_op_in_unsafe_fn). However I noticed when building in Rust 1.65 that the lint is fired in the expanded code from the scoped_thread_local macro.

To fix this issue, I think the macros should be tested with unsafe_op_in_unsafe_fn.

https://github.com/Smithay/wayland-rs/pull/577/commits/e663150fab28f4a6c5b9fbbd0cb240a70ebbcf02

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.