File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "roc_host"
33version = " 0.21.0-rc4"
44authors = [" The Roc Contributors" ]
55edition = " 2021"
6- rust-version = " 1.83 "
6+ rust-version = " 1.97 "
77license = " UPL-1.0"
88repository = " https://github.com/roc-lang/basic-cli"
99
Original file line number Diff line number Diff line change 55# a) Find the latest nightly release that matches RUST_VERSION here: https://github.com/oxalica/rust-overlay/tree/master/manifests/nightly/2024
66# b) update `channel = "nightly-OLD_DATE"` below
77
8- channel = " 1.83.0 " # check ^^^ when changing this
8+ channel = " 1.97.1 " # check ^^^ when changing this
99components = [" rust-analyzer" ]
1010#
1111# channel = "nightly-2024-04-28" # 1.79.0 nightly to be able to use unstable features
Original file line number Diff line number Diff line change @@ -1568,10 +1568,7 @@ fn file_permission_bit(
15681568 Ok ( metadata. permissions ( ) . mode ( ) & bit != 0 )
15691569}
15701570
1571- fn file_is_executable (
1572- path : UnixBytesOrUtf8OrWindowsU16s ,
1573- roc_host : & RocHost ,
1574- ) -> io:: Result < bool > {
1571+ fn file_is_executable ( path : UnixBytesOrUtf8OrWindowsU16s , roc_host : & RocHost ) -> io:: Result < bool > {
15751572 #[ cfg( unix) ]
15761573 {
15771574 file_permission_bit ( path, roc_host, 0o111 )
@@ -1600,10 +1597,7 @@ fn file_is_executable(
16001597 }
16011598}
16021599
1603- fn file_is_readable (
1604- path : UnixBytesOrUtf8OrWindowsU16s ,
1605- roc_host : & RocHost ,
1606- ) -> io:: Result < bool > {
1600+ fn file_is_readable ( path : UnixBytesOrUtf8OrWindowsU16s , roc_host : & RocHost ) -> io:: Result < bool > {
16071601 #[ cfg( unix) ]
16081602 {
16091603 file_permission_bit ( path, roc_host, 0o400 )
@@ -1624,10 +1618,7 @@ fn file_is_readable(
16241618 }
16251619}
16261620
1627- fn file_is_writable (
1628- path : UnixBytesOrUtf8OrWindowsU16s ,
1629- roc_host : & RocHost ,
1630- ) -> io:: Result < bool > {
1621+ fn file_is_writable ( path : UnixBytesOrUtf8OrWindowsU16s , roc_host : & RocHost ) -> io:: Result < bool > {
16311622 #[ cfg( unix) ]
16321623 {
16331624 file_permission_bit ( path, roc_host, 0o200 )
You can’t perform that action at this time.
0 commit comments