mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
a0cff6a085
commit
711dbbd4af
274 changed files with 415 additions and 429 deletions
|
@ -2,11 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use crate::{ErrorScopeId, WebGPUDevice, WebGPURequest};
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use wgpu::{
|
||||
use crate::wgpu::{
|
||||
id::{
|
||||
AdapterId, BindGroupId, BindGroupLayoutId, BufferId, CommandBufferId, ComputePipelineId,
|
||||
DeviceId, PipelineLayoutId, QuerySetId, RenderBundleId, RenderPipelineId, SamplerId,
|
||||
|
@ -14,7 +10,11 @@ use wgpu::{
|
|||
},
|
||||
identity::{GlobalIdentityHandlerFactory, IdentityHandler, IdentityHandlerFactory},
|
||||
};
|
||||
use wgt::Backend;
|
||||
use crate::wgt::Backend;
|
||||
use crate::{ErrorScopeId, WebGPUDevice, WebGPURequest};
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub enum WebGPUOpResult {
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
#[macro_use]
|
||||
pub extern crate wgpu_core as wgpu;
|
||||
pub extern crate wgpu_types as wgt;
|
||||
use log::{error, warn};
|
||||
use wgpu::gfx_select;
|
||||
pub use wgpu_core as wgpu;
|
||||
pub use wgpu_types as wgt;
|
||||
|
||||
pub mod identity;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue