You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example, the .capnp file is in the same directoy as build.rs and Cargo.toml. Moving it to src/addressbook.capnp causes "error writing file" errors. It looks like this line gets a string like src/addressbook.capnp instead of addressbook.capnp. This might be an issue with capnproto-rust.
The text was updated successfully, but these errors were encountered:
Oh yeah that's my mistake, I still had Path::new(".") for the first path; for some reason, I thought it had to do with the output directory and not the source directory.
In the example, the .capnp file is in the same directoy as
build.rs
andCargo.toml
. Moving it tosrc/addressbook.capnp
causes "error writing file" errors. It looks like this line gets a string likesrc/addressbook.capnp
instead ofaddressbook.capnp
. This might be an issue with capnproto-rust.The text was updated successfully, but these errors were encountered: