Closed badboy closed 8 years ago
cc @eholk
Thanks! cc @kripken
Is there a way to set rustup to fetch a specific nightly version? It'd be nice if rustup udpate
just automatically got the right one.
Besides modifying binaryen to compile to a static lib, it also works by changing mir2wasm's build.rs to link dynamically to it, with "dylib=binaryen" instead of "static=binaryen"
@eholk: rustup toolchain install nightly-2016-05-04
@eholk There's not yet a way to encode that information in the project's source like with rbenv.
I tested this with nightly 2016-06-04. It currently does not work with the latest nightly. Too much changed and some structs are now private. Need to find a way around that (besides ugly transmuting).
I also had to change binaryen to compile to static: