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

Cargo build output target issue #42

Closed
zbrox opened this issue Jun 4, 2020 · 1 comment · Fixed by #43
Closed

Cargo build output target issue #42

zbrox opened this issue Jun 4, 2020 · 1 comment · Fixed by #43

Comments

@zbrox
Copy link
Contributor

zbrox commented Jun 4, 2020

The cargo build command here:

tmux split-window "cd ${CURRENT_DIR} && cargo build --release && echo 'Press any key to continue...' && read -k1"

should have the extra parameter --target-dir=target since the binary has a hardcoded path to the target folder in the working folder and for some environments CARGO_TARGET_DIR is set to something else.

@fcsonline
Copy link
Owner

Good catch! Can you create a pull request, please?

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.

2 participants