diff options
| author | Jack Moffitt <jack@metajack.im> | 2013-12-09 14:56:53 -0700 |
|---|---|---|
| committer | Jack Moffitt <jack@metajack.im> | 2013-12-10 17:04:24 -0700 |
| commit | b349036e5f4f5f42e34ae9dd7859f3dc7a79de94 (patch) | |
| tree | c11b022d85120eddff8bdf1be2fd36fe3939369f /src/test/run-pass/static-function-pointer-xc.rs | |
| parent | 29ca4350c8d64facb39311660e8ee919766f481a (diff) | |
| download | rust-b349036e5f4f5f42e34ae9dd7859f3dc7a79de94.tar.gz rust-b349036e5f4f5f42e34ae9dd7859f3dc7a79de94.zip | |
Make crate hash stable and externally computable.
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/test/run-pass/static-function-pointer-xc.rs')
| -rw-r--r-- | src/test/run-pass/static-function-pointer-xc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/static-function-pointer-xc.rs b/src/test/run-pass/static-function-pointer-xc.rs index 0ba47320a67..61790e93584 100644 --- a/src/test/run-pass/static-function-pointer-xc.rs +++ b/src/test/run-pass/static-function-pointer-xc.rs @@ -10,7 +10,7 @@ // xfail-fast // aux-build:static-function-pointer-aux.rs -extern mod aux(name = "static-function-pointer-aux"); +extern mod aux = "static-function-pointer-aux"; fn f(x: int) -> int { x } |
