Skip to content

Commit

Permalink
Rollup merge of #109368 - hermitcore:typo, r=cuviper
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthiaskrgr committed Mar 24, 2023
2 parents 605a4fc + 05542d9 commit cca2630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/hermit/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl OpenOptions {
create: false,
create_new: false,
// system-specific
mode: 0x777,
mode: 0o777,
}
}

Expand Down

0 comments on commit cca2630

Please sign in to comment.