rust/src/test/run-pass/static-fn-trait-xc.rs
Jack Moffitt b349036e5f 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.
2013-12-10 17:04:24 -07:00

11 lines
181 B
Rust

// aux-build:static_fn_trait_xc_aux.rs
// xfail-fast
extern mod mycore = "static_fn_trait_xc_aux";
use mycore::num;
pub fn main() {
let _1: f64 = num::Num2::from_int2(1i);
}