https://pantsbuild.org/ logo
#development
Title
# development
e

early-needle-54791

06/26/2019, 10:01 PM
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

witty-crayon-22786

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
--package=process_execution
maybe?
a

aloof-angle-91616

06/27/2019, 12:47 AM
i just comment out stuff in
<http://cffi_build.rs|cffi_build.rs>
whenever the cargo build isn't quite working
a

average-vr-56795

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 🙂