From 45b3c2aa3c035bdb051e32123fd7be91089d922a Mon Sep 17 00:00:00 2001 From: zhongwencool Date: Mon, 5 Feb 2024 15:19:26 +0800 Subject: [PATCH] chore: enable maybe_expr in elixir runtime --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 9f591f61e..c2eaddcd9 100644 --- a/mix.exs +++ b/mix.exs @@ -680,7 +680,8 @@ defmodule EMQXUmbrella.MixProject do # the elixir version of escript + start.boot required the boot_var # RELEASE_LIB to be defined. - boot_var = "%%!-boot_var RELEASE_LIB $RUNNER_ROOT_DIR/lib" + # enable-feature is not required when 1.6.x + boot_var = "%%!-boot_var RELEASE_LIB $RUNNER_ROOT_DIR/lib -enable-feature maybe_expr" # Files with the version appended are expected by the release # upgrade script `install_upgrade.escript`