mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
chore: Move unsafe operations in unsafe functions to unsafe blocks (#36017)
Signed-off-by: DK Liao <dklassic@gmail.com>
This commit is contained in:
parent
eb3c48f9d3
commit
bcdd34e2aa
5 changed files with 59 additions and 57 deletions
|
@ -23,6 +23,3 @@ windows-sys = { workspace = true, features = ["Win32_System_Memory"] }
|
|||
|
||||
[target.'cfg(target_env = "ohos")'.dependencies]
|
||||
libc = { workspace = true }
|
||||
|
||||
[lints.rust]
|
||||
unsafe_op_in_unsafe_fn = { level = "allow" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue