Sync is now part of the standard library

This commit is contained in:
Andor Uhlár 2014-11-26 16:04:10 +01:00
parent 525394d308
commit 762331eb2b
3 changed files with 2 additions and 4 deletions

View File

@ -3,13 +3,12 @@
extern crate libc;
extern crate rustrt;
extern crate sync;
use libc::{c_void, c_int, c_char, c_ulong, c_long, c_uint, c_uchar, size_t};
use std::mem;
use std::ptr;
use rustrt::mutex::NativeMutex;
use sync::one::{Once, ONCE_INIT};
use std::sync::{Once, ONCE_INIT};
pub type ASN1_INTEGER = c_void;
pub type ASN1_STRING = c_void;

View File

@ -7,7 +7,6 @@
extern crate libc;
#[cfg(test)]
extern crate serialize;
extern crate sync;
extern crate "openssl-sys" as ffi;

View File

@ -2,7 +2,7 @@ use libc::{c_int, c_void, c_long};
use std::io::{IoResult, IoError, EndOfFile, Stream, Reader, Writer};
use std::mem;
use std::ptr;
use sync::one::{Once, ONCE_INIT};
use std::sync::{Once, ONCE_INIT};
use bio::{MemBio};
use ffi;