A few months ago, I change the name for a bin in my Cargo.toml, as the resulting binary name wasn't compatible with something (needed underscores instead of hyphens for some reason). The binary with the old name however, is still floating around in the slug. The Procfile references the new name, so it's not picking up the wrong file, but the old file is still there. I had a look through the code in compile, and it looked like the target directory was being cleaned up, but I'm not sure if it's the right one.
It's my understanding that the buildpack should take care of this. I've seen various solutions involving clearing build caches and resetting repos, and I suspect the latter might work, but seems like overkill.
A few months ago, I change the name for a bin in my Cargo.toml, as the resulting binary name wasn't compatible with something (needed underscores instead of hyphens for some reason). The binary with the old name however, is still floating around in the slug. The Procfile references the new name, so it's not picking up the wrong file, but the old file is still there. I had a look through the code in compile, and it looked like the target directory was being cleaned up, but I'm not sure if it's the right one.
It's my understanding that the buildpack should take care of this. I've seen various solutions involving clearing build caches and resetting repos, and I suspect the latter might work, but seems like overkill.