rustc: Move util::sha2 to rustc_back

This commit is contained in:
Brian Anderson 2014-07-06 22:21:04 -07:00
parent 46266bd606
commit c199790077
3 changed files with 6 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -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};