burtonageo / cargo-bundle

Wrap rust executables in OS-specific app bundles
Other
1.08k stars 74 forks source link

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

Closed griccardos closed 6 months ago

griccardos commented 1 year ago

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