Rustler Mix v0.22.0-rc.0 mix compile.rustler View Source
Compiles Erlang NIFs written in Rust by calling into cargo.
This task extracts the configuration for Rustler crates from mix.exs
and spawns a cargo process to do the actual compilation.
This task is usually used by configuring the compilers in mix.exs. In
project/0, add compilers: [:rustler] ++ Mix.compilers(),. Then, mix compile
will automatically pick up mix compile.rustler.
Link to this section Summary
Link to this section Functions
Link to this function
run(args) View Source
A task needs to implement run which receives
a list of command line args.
Callback implementation for Mix.Task.run/1.