File tree 4 files changed +4
-13
lines changed
4 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -371,6 +371,10 @@ jobs:
371
371
- uses : ./.github/actions/install-rust
372
372
with :
373
373
toolchain : ${{ matrix.rust }}
374
+
375
+ - name : Use specific dependency versions for Rust 1.63 compatibility.
376
+ run : cargo update --package=once_cell --precise=1.20.3
377
+
374
378
# Don't use --all-features because some of the features have dependencies
375
379
# that don't work on newer Rust versions.
376
380
- run : cargo test --workspace --features=fs_utf8,arf_strings
Original file line number Diff line number Diff line change @@ -157,9 +157,6 @@ pub trait FileExt {
157
157
Ok ( ( ) )
158
158
}
159
159
160
- /// Returns the current position within the file.
161
- fn tell ( & self ) -> io:: Result < u64 > ;
162
-
163
160
/// Adjust the flags associated with this file.
164
161
fn fdstat_set_flags ( & self , flags : u16 ) -> io:: Result < ( ) > ;
165
162
Original file line number Diff line number Diff line change @@ -523,11 +523,6 @@ impl crate::fs::FileExt for File {
523
523
std:: os:: wasi:: fs:: FileExt :: write_vectored_at ( & self . std , bufs, offset)
524
524
}
525
525
526
- #[ inline]
527
- fn tell ( & self ) -> std:: result:: Result < u64 , io:: Error > {
528
- std:: os:: wasi:: fs:: FileExt :: tell ( & self . std )
529
- }
530
-
531
526
#[ inline]
532
527
fn fdstat_set_flags ( & self , flags : u16 ) -> std:: result:: Result < ( ) , io:: Error > {
533
528
std:: os:: wasi:: fs:: FileExt :: fdstat_set_flags ( & self . std , flags)
Original file line number Diff line number Diff line change @@ -521,11 +521,6 @@ impl crate::fs::FileExt for File {
521
521
self . cap_std . write_vectored_at ( bufs, offset)
522
522
}
523
523
524
- #[ inline]
525
- fn tell ( & self ) -> std:: result:: Result < u64 , io:: Error > {
526
- self . cap_std . tell ( )
527
- }
528
-
529
524
#[ inline]
530
525
fn fdstat_set_flags ( & self , flags : u16 ) -> std:: result:: Result < ( ) , io:: Error > {
531
526
self . cap_std . fdstat_set_flags ( flags)
You can’t perform that action at this time.
0 commit comments