emk / heroku-buildpack-rust

A buildpack for Rust applications on Heroku, with full support for Rustup, cargo and build caching.
522 stars 186 forks source link

Cope with CARGO_HOME existing, but not rustup #66

Open palfrey opened 1 year ago

palfrey commented 1 year ago

Was upgrading an app that used https://github.com/Hoverbear/heroku-buildpack-rust before and got the error

-----> Checking for new releases of Rust stable channel        
/tmp/buildpacks/custom/bin/compile: line 107: rustup: command not found  

This fixes the rustup detection