File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,7 @@ defmodule Rustler.Compiler do
9595 if os_type do
9696 os_type . os_type
9797 else
98- throw_error (
99- { :unknown_target ,
100- "#{ target } is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues." }
101- )
98+ throw_error ( { :unknown_target , target } )
10299 end
103100 end
104101
Original file line number Diff line number Diff line change @@ -53,4 +53,10 @@ defmodule Rustler.Compiler.Messages do
5353 Note: You should already have this if you made your project with the project generator.
5454 """
5555 end
56+
57+ def message ( { :unknown_target , target } ) do
58+ """
59+ #{ target } is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues."
60+ """
61+ end
5662end
You can’t perform that action at this time.
0 commit comments