Comments (2)
The machine setup all happens here: https://github.com/emk/heroku-buildpack-rust/blob/master/bin/compile
Maybe you could use https://github.com/ddollar/heroku-buildpack-multi to run both a Node buildpack, then a Rust buildpack? It probably depends on exactly what you want.
from heroku-buildpack-rust.
@emk I think you answered this question adequately by mentioning the multi buildpack. @cburgdorf just make sure to include this rust buildpack and Heroku's official node buildpack (https://github.com/heroku/heroku-buildpack-nodejs) and it should work fine. The only issue I see you running into is that the the buildpacks might get a little schizophrenic because it's looking for both a node.js app AND a rust application. Both types of projects have different requirements to get loaded/bootstrap (ie nodejs package.json file). Is your project really a mix of both a node app and a Rust app? If so, I highly suggest you take another look at your project's requirements and possibly consider splitting the applications apart into separate smaller projects. Another option is to completely get rid of the Node bits and just write everything in Rust. 💯
from heroku-buildpack-rust.
Related Issues (20)
- VERSION=1.X not supported anymore HOT 1
- Build is failing, need help to figure this out HOT 6
- Build failing on Heroku HOT 3
- Register in buildpack registry HOT 1
- Not able to build nightly HOT 12
- Cargo missing? HOT 2
- Add support for custom ssh keys HOT 2
- Cannot find diesel during Heroku release step HOT 19
- Cannot find lsqlite3 HOT 5
- Need help! Error R10 - Boot timeout -> failed to bind to $PORT within 60 seconds HOT 4
- How to compile WASM? HOT 1
- Build failing because of openssl
- Cannot get nightly to build HOT 2
- error: reached the type-length limit HOT 4
- Old targets are left behind
- Timeout on Build HOT 3
- Add instructions on how to use sqlx migrations HOT 1
- Option to keep source files of dependencies after compile HOT 2
- Support for `WEB_CONCURRENCY`
- Add support for Trunk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-rust.