-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect the workspace if it exists #38
Comments
Started working on this in https://github.com/srlabs/ziggy/tree/respect-workspace. There are multiple problems when doing this:
|
Couldn't we follow the same idea as cargo targets with multiples "bin" targets. Runner, afl, honggfuzz? Kind of same as now, but in the workspace target directory? The only incompatible thing would be that those targets are not included in the Cargo.toml. Or does that break Or we could add ourselves as binary targets in the workspace, but that would imply changing the targeted codebase. That is not too much of an issue IMO |
When ziggy builds his targets, the used folder is
$PWD/target
. When in a workspace, thetarget
directory will be at the root of the workspace. This makes that we cannot use things likecargo clean -p
to clean a single crate instead of recompiling everything.The idea is either to implement
cargo ziggy clean
or use the same target directory as the workspaceThe text was updated successfully, but these errors were encountered: