diff --git a/Taskfile.dist.yml b/Taskfile.dist.yml index d644a97..7aaebbc 100644 --- a/Taskfile.dist.yml +++ b/Taskfile.dist.yml @@ -32,6 +32,15 @@ tasks: cmds: - go install {{.GOFLAGS}} . + arm: + desc: Build targeting Linux arm64. + cmds: + - go install {{.GOFLAGS}} . + env: + GOOS: linux + GOARCH: arm64 + CC: aarch64-linux-gcc + windows: desc: Build with MinGW, targeting Windows x64. cmds: diff --git a/lib/readline/api.go b/lib/readline/api.go index bb72a36..f8cc4dd 100644 --- a/lib/readline/api.go +++ b/lib/readline/api.go @@ -24,7 +24,7 @@ func Readline(L *lua.LState) int { func AddHistory(L *lua.LState) int { content := L.CheckString(1) if err := readline.AddHistory(content); err != nil { - L.RaiseError("readline addhistory: %v", err) + L.RaiseError("readline add_history: %v", err) } return 0 }