Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Compile error when building with Cargo #41

Open
naomijub opened this issue Oct 14, 2020 · 2 comments
Open

Compile error when building with Cargo #41

naomijub opened this issue Oct 14, 2020 · 2 comments

Comments

@naomijub
Copy link

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
@goertzenator
Copy link
Collaborator

@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.

@naomijub
Copy link
Author

naomijub commented Oct 14, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants