diff --git a/builtin/builtin.v b/builtin/builtin.v index be512d528d..168b213275 100644 --- a/builtin/builtin.v +++ b/builtin/builtin.v @@ -5,7 +5,7 @@ module builtin pub fn exit(code int) { - C.exit(1) + C.exit(code) } // isnil returns true if an object is nil (only for C objects).