ExTypst - Elixir bindings for the Typst typesetting system

Hey guys!

I hope you’re getting well!

I’m trying to test ex_typst with a new application but I’m receiving an error when compilling the application. I already have Rust installed (rustc 1.73.0 (cc66ad468 2023-10-03)). I have MacBook Pro M1 Pro, last Sonoma system version (13.6 (22G120)).

I tested with Erlang 26, 25 and 24.

Compiling extypst_nif v0.1.0 (/Users/lucas.pedreiro/Dev/learn/elixir/docx/deps/ex_typst/native/extypst_nif)
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/Users/lucas.pedreiro/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin ...

 clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `extypst_nif` (lib) due to previous error

== Compilation error in file lib/ex_typst_nif.ex ==
** (RuntimeError) Rust NIF compile error (rustc exit code 101)
    (rustler 0.28.0) lib/rustler/compiler.ex:41: Rustler.Compiler.compile_crate/2
    lib/ex_typst_nif.ex:4: (module)