Hacker News new | ask | show | jobs
by zmanian 3480 days ago
There is some awesome reusable bits here for embedding V8 in a rust application.[0]

I wish the build process was documented somewhere instead of just distributing binaries but it isn't shocking that it is probably a pretty complicated environment to setup.

https://github.com/dflemstr/rq/blob/master/src/query/context...

2 comments

The instructions can be found here: https://github.com/dflemstr/rq/blob/master/CONTRIBUTING.md.

So you'll need to fetch a V8 build and set two environment variables pointing to them but then it's just a regular cargo build.

If you're interested in the other way around, see https://github.com/neon-bindings/neon