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?
06/26/2019, 10:36 PM
hm, not that i know of. this is the "edit both externs.rs/lib.rs and native.py at the same time" case
06/27/2019, 12:47 AM
i just comment out stuff in
whenever the cargo build isn't quite working
06/27/2019, 11:33 AM
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 🙂