소스 검색

chore: enable maybe_expr in elixir runtime

zhongwencool 2 년 전
부모
커밋
45b3c2aa3c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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
     # the elixir version of escript + start.boot required the boot_var
     # RELEASE_LIB to be defined.
     # 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
     # Files with the version appended are expected by the release
     # upgrade script `install_upgrade.escript`
     # upgrade script `install_upgrade.escript`