]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10593 : metajack/rust/pkgid-hash, r=brson
authorbors <bors@rust-lang.org>
Wed, 11 Dec 2013 00:51:20 +0000 (16:51 -0800)
committerbors <bors@rust-lang.org>
Wed, 11 Dec 2013 00:51:20 +0000 (16:51 -0800)
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.

1  2 
src/librustc/middle/lint.rs

Simple merge