summaryrefslogtreecommitdiff
path: root/mbld/build.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/build.myr')
-rw-r--r--mbld/build.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbld/build.myr b/mbld/build.myr
index 055f8b7..7d2b804 100644
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -479,12 +479,12 @@ const isfresh = {src, dst
up to date.
*/
match std.fmtime(src)
- | `std.Some mt: srcmt = mt
- | `std.None: std.fatal("could not stat {}\n", src)
+ | `std.Ok mt: srcmt = mt
+ | `std.Fail e: std.fatal("could not stat {}: {}\n", src, e)
;;
match std.fmtime(dst)
- | `std.Some mt: dstmt = mt
- | `std.None: -> false
+ | `std.Ok mt: dstmt = mt
+ | `std.Fail e: -> false
;;
-> srcmt <= dstmt
}