Created
January 17, 2017 22:26
-
-
Save jorendorff/180b5f6ca45b004c379bea8e2953fee3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mix test | |
Compiling NIF crate :rustler_test (/)... | |
Compiling lazy_static v0.1.16 | |
Compiling libc v0.2.17 | |
Compiling bitflags v0.7.0 | |
Compiling quote v0.3.5 | |
Compiling winapi v0.2.8 | |
Compiling unicode-xid v0.0.3 | |
Compiling log v0.3.6 | |
Compiling winapi-build v0.1.1 | |
Compiling erlang_nif-sys v0.5.4 | |
Compiling rustc-serialize v0.3.21 | |
Compiling kernel32-sys v0.2.2 | |
Compiling syn v0.9.2 | |
Compiling term v0.4.4 | |
Compiling rustler v0.12.0 (file:///home/jorendorff/dev/Rustler) | |
error[E0425]: unresolved function `erlang_nif_sys::enif_thread_type` | |
--> /home/jorendorff/dev/Rustler/src/wrapper/nif_interface.rs:237:14 | |
| | |
237 | unsafe { erlang_nif_sys::enif_thread_type() } | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no resolution found | |
| | |
= help: possible candidate is found in another module, you can import it into scope: | |
= help: `use wrapper::nif_interface::enif_thread_type;` | |
error: aborting due to previous error | |
Build failed, waiting for other jobs to finish... | |
error: Could not compile `rustler`. | |
To learn more, run the command again with --verbose. | |
** (RuntimeError) Rust NIF compile error (rustc exit code 101) | |
lib/task_compile.ex:61: Mix.Tasks.Compile.Rustler.compile_crate_config/2 | |
(elixir) lib/enum.ex:1184: Enum."-map/2-lists^map/1-0-"/2 | |
(mix) lib/mix/task.ex:296: Mix.Task.run_task/3 | |
(elixir) lib/enum.ex:1184: Enum."-map/2-lists^map/1-0-"/2 | |
(mix) lib/mix/tasks/compile.all.ex:19: anonymous fn/1 in Mix.Tasks.Compile.All.run/1 | |
(mix) lib/mix/tasks/compile.all.ex:37: Mix.Tasks.Compile.All.with_logger_app/1 | |
(mix) lib/mix/task.ex:296: Mix.Task.run_task/3 | |
(mix) lib/mix/tasks/compile.ex:85: Mix.Tasks.Compile.run/1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment