]> git.lizzy.rs Git - rust.git/commit
build_helper: destination file can't be up to date when not exists
authorNikolay Merinov <nikolay.merinov@member.fsf.org>
Fri, 1 Dec 2017 09:28:14 +0000 (14:28 +0500)
committerNikolay Merinov <nikolay.merinov@member.fsf.org>
Fri, 1 Dec 2017 09:55:02 +0000 (14:55 +0500)
commitf2df1f5ec6648713791c07b5ca79fa4da87b7d74
treec7bff1c0cdda6de1d91984d42b4d5b41564b91b3
parent804b15be82ea668d943fab70195eb57a2f942d4b
build_helper: destination file can't be up to date when not exists

Function "up_to_date" return incorrect result if mtime for all fetched
sources is set to epoch time. Add existence check to function.
src/build_helper/lib.rs