Commit Graph

241 Commits

Author SHA1 Message Date
ptitSeb
d08d3c1c95 Updated the other crates too 2023-04-18 16:53:04 +02:00
Michael-F-Bryan
aa5709ab05 Upgrade to webc v5.0.0 2023-04-18 19:25:20 +08:00
Michael-F-Bryan
0b86caa73c Remove debug prompts and delete more UNC path normalization tests 2023-04-13 23:44:24 +08:00
Michael-F-Bryan
02f4801c6b Update another normalization test 2023-04-13 23:44:24 +08:00
Michael-F-Bryan
f08296da93 ignore one of the UNC edge cases 2023-04-13 23:44:24 +08:00
Michael-F-Bryan
221c345199 switch back to webc's normalization code 2023-04-13 23:44:23 +08:00
Michael-F-Bryan
292ab8504a add some dbg!() statements to debug path issues on Windows 2023-04-13 23:44:23 +08:00
Michael-F-Bryan
fcfff4f6ae Wrote webc's path normalization logic out by hand 2023-04-13 23:44:23 +08:00
Michael-F-Bryan
9910220c0a Updating tests 2023-04-13 23:44:22 +08:00
Michael-F-Bryan
6514708912 Put the new WebcVolumeFileSystem behind a cfg flag 2023-04-13 23:44:22 +08:00
Michael-F-Bryan
307f3618b4 Added more normalization tests 2023-04-13 23:44:22 +08:00
Michael-F-Bryan
0f067df42b Bump to the latest webc version 2023-04-13 23:44:21 +08:00
Michael-F-Bryan
84f5d55aa2 Implemented the last of the FileSystem trait 2023-04-13 23:44:21 +08:00
Michael-F-Bryan
25bd1b3945 Added tests for normalization 2023-04-13 23:44:21 +08:00
Michael-F-Bryan
48b3c99882 Added tests for the WebcVolumeFileSystem 2023-04-13 23:44:21 +08:00
Michael-F-Bryan
721e2bec96 Started working on the WebcVolumeFileSystem 2023-04-13 23:44:20 +08:00
Johnathan Sharratt
71bcb9c7b6 Fixed some compile errors on the tests 2023-04-07 15:34:14 +10:00
Johnathan Sharratt
164c6e2393 Upgrade webc from webc 5.0.0-rc.5 to webc 5.0.0-rc.6 2023-04-07 11:07:53 +10:00
ptitSeb
8dbc260aae Foxed to use crate webc 5.0.0-rc.5 exactly 2023-04-05 13:53:29 +02:00
ptitSeb
c145390caa Bumped crates version pre-beta.2 release (#3743) 2023-04-05 10:45:13 +00:00
ptitSeb
4a318306f2 Fixed FileSystem createdir when parent_inode is an ArcDirectory (#3737) 2023-04-03 19:37:12 +00:00
Michael-F-Bryan
0114fdda27 Forgot to give the file read permissions 2023-03-24 22:08:14 +08:00
Michael-F-Bryan
60d1b0cf63 Made clippy happy 2023-03-24 22:08:02 +08:00
Michael-F-Bryan
0f6b2219cf Hacks to make Python work 2023-03-24 21:40:03 +08:00
Michael-F-Bryan
9ec190e232 Added a tracing filesystem and more logs 2023-03-24 21:40:02 +08:00
Michael-F-Bryan
e6550b1004 Added tests to reproduce the absolute/relative path weirdness 2023-03-24 21:40:02 +08:00
ptitSeb
7500ce76fc Feat riscv llvm and cranelift (#3244)
* Basic changes for RISC-V support

* RISC-V in compiler LLVM

* RISC-V support in dylib engine

* RISC-V support in universal engine

* Various small fixes

* [RISCV] LLVM-riscv working, with some ignored tests to be worked on later

* Update rustc to 4.65 (1.64 has some issue with riscv64 target)

* Fixed some (new) Linting issues

* Updated Cargo.toml and remove split-debuginfo for Windows build

* Removed profile.dev from Cargo.toml as it cannot be per platform (breaks Windows). split-debug info is now the default value

* Enable Cranelift compiler for RISCV

* Update crates and fixed all the new clippy errors

* Taken review remarks into account

* Removed change from deny.toml, it's not needed anymore

* Added some more comment about llvm abi hack

* Added doc about current state of RISCV support

* Fixed (newer) linter

---------

Co-authored-by: Toru Nayuki <tnayuki@icloud.com>
2023-03-22 15:26:28 +01:00
Michael-F-Bryan
897bc6d90b Ran rustfmt 2023-03-22 01:36:18 +08:00
Michael-F-Bryan
702972fb10 Reuse unioned_filesystem() for WCGI 2023-03-22 01:31:55 +08:00
Michael-F-Bryan
e2a933c83b Reading from a WebCFile never advanced its cursor 2023-03-22 01:31:17 +08:00
Michael-F-Bryan
2ba16b317e Updated to use the OverlayFileSystem 2023-03-22 01:31:17 +08:00
Michael-F-Bryan
14f27b9f37 Trying to use UnionFS 2023-03-22 01:31:17 +08:00
Michael-F-Bryan
06a4daede7 Revert some unnecessary Cargo.toml formatting 2023-03-22 01:23:35 +08:00
Michael-F-Bryan
db2a66110c Miscellaneous refactoring and tidy-ups 2023-03-22 01:23:34 +08:00
Johnathan Sharratt
e2bf8deabc Merge branch 'master' into dash-fixes-and-pthreads 2023-03-17 04:23:38 +11:00
ptitSeb
c979d6f00c Adapted a doc test of overlay-fs 2023-03-16 14:21:10 +01:00
ptitSeb
3a4d05a802 Merge branch 'master' into rename_crates 2023-03-16 13:23:49 +01:00
Johnathan Sharratt
3ba3f41a6f Merge branch 'master' into dash-fixes-and-pthreads 2023-03-16 12:41:15 +01:00
Michael-F-Bryan
6fb20e4981 Applied suggestions from @theduke 2023-03-16 18:08:51 +08:00
Michael-F-Bryan
6cbaa0ab72 Moved the FileSystemExt trait into its own top-level functions 2023-03-16 18:08:51 +08:00
Michael-F-Bryan
b30024fc7f renamed iter_filesystems() to filesystems() 2023-03-16 18:08:51 +08:00
Michael-F-Bryan
eda8807a3a Fixed a doctest 2023-03-16 18:08:50 +08:00
Michael-F-Bryan
0184baa7c9 Added tests for #3678 2023-03-16 18:08:50 +08:00
Michael-F-Bryan
a9d752d93c The WASI runner test now mounts to separate folders 2023-03-16 18:08:50 +08:00
Michael-F-Bryan
10e0d600fc Rewrote the FileSystems trait to use external iterators 2023-03-16 18:08:50 +08:00
Michael-F-Bryan
20c352a573 Fleshed out the WASI runner use case 2023-03-16 18:08:50 +08:00
Michael-F-Bryan
3109e467ee Reworking the read-only/read-write logic 2023-03-16 18:08:49 +08:00
Michael-F-Bryan
c83bf92ab7 Reworked the file opening logic 2023-03-16 18:08:49 +08:00
Michael-F-Bryan
82befd5206 Start implementing an overlayed filesystem 2023-03-16 18:08:49 +08:00
Michael-F-Bryan
03a061ed53 Introduce a FileSystemExt trait 2023-03-16 18:08:49 +08:00