From 5a3494be3629e3169eddb534859b634ff76ad93b Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 19 Mar 2023 22:59:48 +0100 Subject: [PATCH] fix typo in the creation of OpenOption Due to this typo we have to build a workaround for issue hermitcore/libhermit-rs#191. RustyHermit is a tier 3 platform and backward compatibility does not have to be guaranteed. --- std/src/sys/hermit/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/src/sys/hermit/fs.rs b/std/src/sys/hermit/fs.rs index c966f2177..cf0b27176 100644 --- a/std/src/sys/hermit/fs.rs +++ b/std/src/sys/hermit/fs.rs @@ -202,7 +202,7 @@ impl OpenOptions { create: false, create_new: false, // system-specific - mode: 0x777, + mode: 0o777, } }