Skip to content
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

Does not respect ~/.cargo/config.toml target-dir setting #161

Closed
griccardos opened this issue Sep 29, 2023 · 0 comments · Fixed by #178
Closed

Does not respect ~/.cargo/config.toml target-dir setting #161

griccardos opened this issue Sep 29, 2023 · 0 comments · Fixed by #178

Comments

@griccardos
Copy link

when doing a cargo bundle --release, it gives an error that it failed to copy binary /path/to/project/target/release/app.
That is because target-dir in the config.toml file is set to a different folder e.g. /tmp/rust so the correct path would be /tmp/rust/target/release/app
Additionally it should create the bundle directory in /tmp/rust/target/release/bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant