Is there a good way to disable cbindgen while runn...
# development
e
Is there a good way to disable cbindgen while running tests so I can get decent error messages from cargo instead the very generic CbindgenErrors?
w
hm, not that i know of. this is the "edit both externs.rs/lib.rs and native.py at the same time" case
--package=process_execution
maybe?
a
i just comment out stuff in
<http://cffi_build.rs|cffi_build.rs>
whenever the cargo build isn't quite working
a
I have been meaning to pull out engine/src/lib.rs into its own crate which depends on the implementation details of the engine crate, so that we’re only cbindgen-ing the ffi interface, and syntax errors elsewhere in the crate don’t get swallowed into generic cbindgen issues. But that sounds like it won’t actually help you here 🙂