I’m currently trying to submit my code but I keep on getting the following error
[your-program] /app/your_program.sh: 11: exec: /tmp/codecrafters-build-shell-rust/release/codecrafters-shell: not found
This is telling me that the built executable isn’t at the expected path
. I haven’t played with the files located at .codecrafters . Here is their contents
compile.sh:
set -e # Exit on failure
cargo build --release --target-dir=/tmp/codecrafters-build-shell-rust --manifest-path Cargo.toml
run.sh:
set -e # Exit on failure
exec /tmp/codecrafters-build-shell-rust/release/codecrafters-shell "$@"
I did play around with Cargo.toml where I removed the dependencies that I didn’t use and I also nuked your_program.sh since according to the comments that file is only used to run the program locally, which I wasn’t using. Maybe I broke something obvious in the process and I’m blind?
Here is the repo.