mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 22:00:04 -04:00
Update for rustc
This commit is contained in:
@@ -42,8 +42,6 @@ extern crate cocoa;
|
|||||||
extern crate core_foundation;
|
extern crate core_foundation;
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
extern crate core_graphics;
|
extern crate core_graphics;
|
||||||
#[cfg(target_os = "linux")]
|
|
||||||
extern crate sync;
|
|
||||||
|
|
||||||
pub use events::*;
|
pub use events::*;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use std::{mem, ptr};
|
|||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
use std::sync::atomic::AtomicBool;
|
use std::sync::atomic::AtomicBool;
|
||||||
use super::ffi;
|
use super::ffi;
|
||||||
use sync::one::{Once, ONCE_INIT};
|
use std::sync::{Once, ONCE_INIT};
|
||||||
|
|
||||||
pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor};
|
pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user