From 06fe8cc339bbf6bf3597e09c217170a383840d58 Mon Sep 17 00:00:00 2001 From: Roland Metivier Date: Tue, 26 Jan 2021 13:18:58 -0600 Subject: [PATCH] correct error w/path as charstring --- lib/rust2ex.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rust2ex.ex b/lib/rust2ex.ex index b7eb683..d5b0e70 100644 --- a/lib/rust2ex.ex +++ b/lib/rust2ex.ex @@ -13,7 +13,7 @@ defmodule Mix.Tasks.Compile.Rust2ex do "--path", Path.dirname(where), "--root", - :code.priv_dir(Mix.Project.config[:app]), + to_string(:code.priv_dir(Mix.Project.config[:app])), if(Mix.env() == :prod, do: "", else: "--debug") ])