b349036e5f
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.
11 lines
181 B
Rust
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);
|
|
}
|