exportso that other buildpacks can access the Rust toolchain.
To deploy an application to Heroku, we recommend installing the [Heroku CLI].
If you're creating a new Heroku application,
cd to the directory containing your code, and run:
heroku create --buildpack https://github.com/solana-labs/heroku-buildpack-rust-wasm-pack.git
This will only work if your application has a
Cargo.toml and uses
git. If you want to set a particular name for application, see
heroku create --help first.
To use this as the buildpack for an existing application, run:
heroku buildpacks:add --index 1 https://github.com/solana-labs/heroku-buildpack-rust-wasm-pack.git
Copy the snippet above into CLI.