Browse Source

chore: enable maybe_expr in elixir runtime

zhongwencool 2 years ago
parent
commit
45b3c2aa3c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mix.exs

+ 2 - 1
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`