alexcrichton / alexcrichton/scoped-tls
Starting in Rust 1.65 unsafe_op_in_unsafe_fn lints
Đang mở
- 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á.