diff options
author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-08-10 15:34:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 15:34:50 +0200 |
commit | 5b0d7fbe5d573e33bdbe52ed2d9e5c5c177ed63e (patch) | |
tree | a7529749c13b18631cb18daed815c14886c16aa8 /components/script_plugins/lib.rs | |
parent | 92a23f758321fdfbc7075f00770972253e03f0df (diff) | |
download | servo-5b0d7fbe5d573e33bdbe52ed2d9e5c5c177ed63e.tar.gz servo-5b0d7fbe5d573e33bdbe52ed2d9e5c5c177ed63e.zip |
Fix lint
Diffstat (limited to 'components/script_plugins/lib.rs')
-rw-r--r-- | components/script_plugins/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script_plugins/lib.rs b/components/script_plugins/lib.rs index 0b8b805a579..218d7107610 100644 --- a/components/script_plugins/lib.rs +++ b/components/script_plugins/lib.rs @@ -34,6 +34,7 @@ use rustc_span::source_map::{ExpnKind, MacroKind, Span}; use rustc_span::symbol::sym; use rustc_span::symbol::Symbol; +#[allow(unsafe_code)] // #[no_mangle] is unsafe #[no_mangle] fn __rustc_plugin_registrar(reg: &mut Registry) { registrar(reg) |