mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
rustc: Move util::sha2 to rustc_back
This commit is contained in:
parent
46266bd606
commit
c199790077
@ -126,10 +126,10 @@ pub mod lint;
|
||||
|
||||
pub mod util {
|
||||
pub use rustc_back::fs;
|
||||
pub use rustc_back::sha2;
|
||||
|
||||
pub mod common;
|
||||
pub mod ppaux;
|
||||
pub mod sha2;
|
||||
pub mod nodemap;
|
||||
}
|
||||
|
||||
|
@ -32,8 +32,7 @@
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
|
||||
#![feature(globs)]
|
||||
#![feature(phase)]
|
||||
#![feature(globs, phase, macro_rules)]
|
||||
#![allow(unused_attribute)] // NOTE: remove after stage0
|
||||
|
||||
#[phase(plugin, link)]
|
||||
@ -41,6 +40,7 @@ extern crate log;
|
||||
extern crate syntax;
|
||||
extern crate libc;
|
||||
extern crate flate;
|
||||
extern crate serialize;
|
||||
|
||||
pub mod abi;
|
||||
pub mod archive;
|
||||
@ -49,6 +49,7 @@ pub mod fs;
|
||||
pub mod mips;
|
||||
pub mod mipsel;
|
||||
pub mod rpath;
|
||||
pub mod sha2;
|
||||
pub mod svh;
|
||||
pub mod target_strs;
|
||||
pub mod x86;
|
||||
|
@ -12,6 +12,8 @@
|
||||
//! use. This implementation is not intended for external use or for any use where security is
|
||||
//! important.
|
||||
|
||||
#![allow(deprecated)] // to_be32
|
||||
|
||||
use std::iter::range_step;
|
||||
use std::num::Zero;
|
||||
use std::slice::bytes::{MutableByteVector, copy_memory};
|
Loading…
Reference in New Issue
Block a user