about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-10 16:51:20 -0800
committerbors <bors@rust-lang.org>2013-12-10 16:51:20 -0800
commitac4dd9efee9248f4c3235460f3c93acc9932eb5a (patch)
treecfd0eb4a1919cf127b1621e630f5ea8b0a802315 /src/libstd/rt
parent5aad292fb99f7e9a2730b35ed535bda0ab9c6117 (diff)
parenta16753c18844ad37d63ee00fe0292303afc990ac (diff)
downloadrust-ac4dd9efee9248f4c3235460f3c93acc9932eb5a.tar.gz
rust-ac4dd9efee9248f4c3235460f3c93acc9932eb5a.zip
auto merge of #10593 : metajack/rust/pkgid-hash, r=brson
This replaces the link meta attributes with a pkgid attribute and uses a hash
of this as the crate hash. This makes the crate hash computable by things
other than the Rust compiler. It also switches the hash function ot SHA1 since
that is much more likely to be available in shell, Python, etc than SipHash.

Fixes #10188, #8523.
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/sched.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/rt/sched.rs b/src/libstd/rt/sched.rs
index 5ad1d92fb15..eb5b2df4ed9 100644
--- a/src/libstd/rt/sched.rs
+++ b/src/libstd/rt/sched.rs
@@ -917,8 +917,6 @@ fn new_sched_rng() -> XorShiftRng {
 
 #[cfg(test)]
 mod test {
-    extern mod extra;
-
     use prelude::*;
     use rt::test::*;
     use unstable::run_in_bare_thread;