- Notifications
You must be signed in to change notification settings - Fork 550
Open
Description
When using the cc crate...
what is the proper way to set up build.rs and/or Cargo.toml so that cargo will automatically recompile and relink the C/C++ files if they are changed since the last compilation? Maybe even list the local header files so changing them will trigger recompilation/relink as well?
Alternatively, what is the proper way to force cargo to recompile all the C/C++ files?
Right now I can always remove the target/{debug,release} directories to force recompilation but it seems like a hack.
Metadata
Metadata
Assignees
Labels
No labels