commit | f81e3d36722d89cf373070ee820b8c715aa78f51 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Fri Sep 11 15:27:09 2015 -0700 |
committer | Alex Crichton <alex@alexcrichton.com> | Fri Sep 11 15:27:20 2015 -0700 |
tree | f6ec5c4348e8bed313b090fbdfb6b767610c8339 | |
parent | 084f9ea0e558171095ad562ce0400323966a38c1 [diff] [blame] |
Compat back to 1.0.0
diff --git a/libc-test/build.rs b/libc-test/build.rs index a4c493f..ae8c21b 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs
@@ -62,7 +62,7 @@ fn headers(&self) -> Vec<&'static str> { let mut base = Vec::new(); - base.extend(&[ + base.extend([ "errno.h", "fcntl.h", "limits.h", @@ -74,7 +74,7 @@ "sys/types.h", "time.h", "wchar.h", - ]); + ].iter().cloned()); if self.target.contains("apple-darwin") { base.push("mach-o/dyld.h");