Commit eadb436
authored
Preserve file timestamps when copying files in the install target (WebAssembly#581)
This change makes it so that the timestamps of installed header files
are only updated when the contents of the header files change. This
change is beneficial for incremental builds of projects depending on
wasi-libc. For example, the Swift project builds wasi-libc as part of
its build process, and this change reduces the number of build products
in the Swift build that are unnecessarily rebuilt.
This is a 2nd attempt of
WebAssembly#530 but much simpler
thanks to @abrown 's build work1 parent e9524a0 commit eadb436
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
816 | 816 | | |
817 | 817 | | |
818 | 818 | | |
819 | | - | |
| 819 | + | |
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| |||
0 commit comments