mirror of
https://github.com/rust-lang/cargo
synced 2024-09-15 22:09:55 +00:00
Fix recompilation test for mac
On macs, mtime has a seconds granularity, so we need to sleep a bit
This commit is contained in:
parent
73f870c264
commit
3d15df97b4
|
@ -298,6 +298,7 @@ fn no_rebuild_dependency() {
|
|||
p.url(),
|
||||
p.url())));
|
||||
|
||||
sleep_ms(1000);
|
||||
p.change_file("src/foo.rs", r#"
|
||||
extern crate bar;
|
||||
fn main() { bar::bar(); }
|
||||
|
|
Loading…
Reference in a new issue