Skip to content

Commit 05542d9

Browse files
committed
fix typo in the creation of OpenOption
Due to this typo we have to build a workaround for issue hermit-os/kernel#191. RustyHermit is a tier 3 platform and backward compatibility does not have to be guaranteed.
1 parent 8826b68 commit 05542d9

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/hermit

1 file changed

+1
-1
lines changed

library/std/src/sys/hermit/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ impl OpenOptions {
202202
create: false,
203203
create_new: false,
204204
// system-specific
205-
mode: 0x777,
205+
mode: 0o777,
206206
}
207207
}
208208

0 commit comments

Comments
 (0)