mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +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
|
@ -32,6 +32,3 @@ mach2 = { version = "0.4", optional = true }
|
|||
[target.'cfg(all(target_os = "linux", not(any(target_arch = "arm", target_arch = "aarch64", target_env = "ohos", target_env = "musl"))))'.dependencies]
|
||||
nix = { workspace = true, features = ["signal"], optional = true }
|
||||
unwind-sys = { version = "0.1.4", optional = true }
|
||||
|
||||
[lints.rust]
|
||||
unsafe_op_in_unsafe_fn = { level = "allow" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue