Skip to content

Commit 6507874

Browse files
authored
Rollup merge of rust-lang#109368 - hermitcore:typo, r=cuviper
fix typo in the creation of OpenOption for RustyHermit 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.
2 parents 6d67e3b + 72cbe64 commit 6507874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/sys/hermit/fs.rs

Lines changed: 1 addition & 1 deletion
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)