Skip to content

Commit cf3eadb

Browse files
committed
Try using rustup in rustler
1 parent b6677d5 commit cf3eadb

File tree

1 file changed

+2
-1
lines changed
  • lib/components_guide/rustler

1 file changed

+2
-1
lines changed

lib/components_guide/rustler/math.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
defmodule ComponentsGuide.Rustler.Math do
2-
use Rustler, otp_app: :components_guide, crate: :componentsguide_rustler_math
2+
# use Rustler, otp_app: :components_guide, crate: :componentsguide_rustler_math
3+
use Rustler, otp_app: :components_guide, crate: :componentsguide_rustler_math, cargo: {:rustup, :stable}
34

45
def add(_, _), do: error()
56

0 commit comments

Comments
 (0)