mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
10 lines
364 B
Rust
10 lines
364 B
Rust
use run_make_support::{rfs, rustc};
|
|
|
|
fn main() {
|
|
rustc().input("lib.rs").arg("-Zchecksum-hash-algorithm=blake3").emit("dep-info").run();
|
|
let make_file_contents = rfs::read_to_string("lib.d");
|
|
let expected_contents = rfs::read_to_string("expected.d");
|
|
assert_eq!(make_file_contents, expected_contents);
|
|
assert!(!expected_contents.is_empty());
|
|
}
|