erlang_nif-sys
erlang_nif-sys copied to clipboard
Compile error when building with Cargo
error: failed to run custom build command for `erlang_nif-sys v0.6.4`
Caused by:
process didn't exit successfully: `/Users/julia.boeira/Documents/bercode/native/io/target/debug/build/erlang_nif-sys-1d4db100cb37e287/build-script-build` (exit code: 101)
--- stdout
Unsupported Erlang version.
Is the erlang_nif-sys version up to date in the Cargo.toml?
Does 'cargo update' fix it?
If not please report at https://github.com/goertzenator/erlang_nif-sys.
--- stderr
thread 'main' panicked at 'gen_api.erl encountered an error.', /Users/julia.boeira/.cargo/registry/src/github.com-1ecc6299db9ec823/erlang_nif-sys-0.6.4/build.rs:28:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
@hansihe Is this repo obsoleted by https://github.com/rusterlium/rustler/tree/master/rustler_sys ? If so we should put a note on the top of this repo to keep people from getting stuck here.
I got stuck from Rustler ~0.21
, I did not use intentionally. Migrating to Ruster ~0.22-rc1
did solve the problem but it made me remove another dependency that I was using