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

use rustup script to download and install rust #7

Closed rhelmer closed 8 years ago

rhelmer commented 8 years ago

With Rust 1.5.0 and Heroku, I am getting a lot of:

error: can't find crate for `std`

I looked at how rustup.sh and the Rust installer script does things, and I think it'd be easier and more future-proof to just use rustup.sh.

tgandrews commented 8 years ago

This resolved my issue and seems like a better solution than extracting and setting everything up in the buildpack.

emk commented 8 years ago

This looks good. Please ping me again if I don't merge this soon.

emk commented 8 years ago

Thank you for submitting the patch, and my apologies for not followup up way back when.

I've merged https://github.com/emk/heroku-buildpack-rust/pull/8, a more recent version of support for Rustup from an employee at Heroku.