remove extern crate (#30311)

* remove extern crate

* Update components/script_plugins/lib.rs

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Samson 2023-09-08 14:11:31 +02:00 committed by GitHub
parent a0cff6a085
commit 711dbbd4af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
274 changed files with 415 additions and 429 deletions

View file

@ -9,6 +9,7 @@ use ipc_channel::ipc::{self, IpcReceiver};
use ipc_channel::router::ROUTER;
use profile_traits::mem::ReportsChan;
use profile_traits::mem::{ProfilerChan, ProfilerMsg, ReportKind, Reporter, ReporterRequest};
use profile_traits::path;
use std::borrow::ToOwned;
use std::cmp::Ordering;
use std::collections::HashMap;
@ -389,6 +390,7 @@ mod system_reporter {
#[cfg(not(target_os = "windows"))]
use libc::{c_void, size_t};
use profile_traits::mem::{Report, ReportKind, ReporterRequest};
use profile_traits::path;
#[cfg(not(target_os = "windows"))]
use std::ffi::CString;
#[cfg(not(target_os = "windows"))]