Open maxlapshin opened 9 years ago
The example was a bit outdated. Please try current master. With Erlang 17.1 and Rust 1.0.0 it should just work.
You might run into a few glitches with version numbers here and there if you use some slightly different versions. (I wouldn't count on the example working with major version differences.) Specifically in these lines of the Makefile
:
# Please override these to match your environment!
ERLANG_SRC_DIR ?= ${HOME}/.kerl/builds/17.1/otp_src_17.1
ERLANG_EI_LIB_DIR ?= ${HOME}/apps/erlang/17.1/lib/erl_interface-3.7.17/lib
RUST_DIR ?= ${HOME}/apps/rust/1.0.0
...
${RUST_DIR}/lib/rustlib/${RUST_PLATFORM}/lib/liballoc-4e7c5e5c.rlib \
Seems that 128us is not what this version of rust likes.
Also there is no build_macos.sh script