-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Very cool project! I'm using rust-9p to explore 9p after reading about plan9 online for so long.
In my plan98 project, i'm using the README cargo run --release 'tcp!0.0.0.0!8888'
to expose my project files as a metaphorical thumb drive, with the idea that the user can remix their own web client, without needing a new mental model, if they already can edit files on a thumb drive.
This works on all the linux distros i've hopped before, but i'm doing quality assurance and testing on an macbook for the first time, M2 specifically, if that matters, and getting this error.
tychi@tychis-MBP .plan98 % deno task start-server
Task start-server plan98client=$(pwd)/client; cd rust-9p-master/example/unpfs && cargo run --release 'tcp!0.0.0.0!8888' $plan98client
Compiling rust-9p v0.0.1 (/Users/tychi/.plan98/rust-9p-master)
error[E0308]: mismatched types
--> /Users/tychi/.plan98/rust-9p-master/src/fcall.rs:328:21
|
328 | blocks: buf.blocks(),
| ^^^^^^^^^^^^ expected `u64`, found `u32`
error[E0308]: mismatched types
--> /Users/tychi/.plan98/rust-9p-master/src/fcall.rs:329:20
|
329 | bfree: buf.blocks_free(),
| ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32`
error[E0308]: mismatched types
--> /Users/tychi/.plan98/rust-9p-master/src/fcall.rs:330:21
|
330 | bavail: buf.blocks_available(),
| ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32`
error[E0308]: mismatched types
--> /Users/tychi/.plan98/rust-9p-master/src/fcall.rs:331:20
|
331 | files: buf.files(),
| ^^^^^^^^^^^ expected `u64`, found `u32`
error[E0308]: mismatched types
--> /Users/tychi/.plan98/rust-9p-master/src/fcall.rs:332:20
|
332 | ffree: buf.files_free(),
| ^^^^^^^^^^^^^^^^ expected `u64`, found `u32`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `rust-9p` (lib) due to 5 previous errors
happy to help troubleshoot on my end. i can code, primarily javascript, but i've got a rust tool chain installed, just no idea where to start to open a PR myself.
Metadata
Metadata
Assignees
Labels
No labels