servo: Merge #5033 - Fix gonk warnings, add to tidy (from Manishearth:gonk-warn); r=Ms2ger
Rust still reports that the `*mut ANativeWindow` argument in `gnw_perform` in `gonk/src/window.rs` is ffi unsafe, however `ANativeWindow` is marked as `#[repr(C)]` and should be okay. Source-Repo: https://github.com/servo/servo Source-Revision: 8bc4d07e50aa38371ef383b8f22ec9f7cacaae96
This commit is contained in:
@@ -13,7 +13,7 @@ import os
|
||||
import fnmatch
|
||||
from licenseck import licenses
|
||||
|
||||
directories_to_check = ["src", "components"]
|
||||
directories_to_check = ["ports/gonk", "components"]
|
||||
filetypes_to_check = [".rs", ".rc", ".cpp", ".c", ".h", ".py"]
|
||||
|
||||
ignored_files = [
|
||||
@@ -25,6 +25,8 @@ ignored_files = [
|
||||
"components/script/dom/bindings/codegen/*",
|
||||
"components/style/properties/mod.rs",
|
||||
"components/servo/target/*",
|
||||
"ports/gonk/target/*",
|
||||
"ports/gonk/src/native_window_glue.cpp",
|
||||
|
||||
# MIT license
|
||||
"components/util/deque/mod.rs",
|
||||
|
||||
Reference in New Issue
Block a user