From 248b2c94dd3d478e4487cf77b69a2ff6fca073f1 Mon Sep 17 00:00:00 2001 From: Winford Date: Fri, 25 Jul 2025 19:01:49 -0700 Subject: [PATCH] Suppress warning about missing sasl Add `nowarn_sasl` to the rebar.config erl_opts to suppress the warning when assembling the release: ``` *WARNING* Missing application sasl. Can not upgrade with this release ``` This escript tool does not need sasl since we are not doing OTP application style upgrades. We can safely ignore this warning, and it may be confusing or misleading to users. See issue #34. Signed-off-by: Winford --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index fae48c5..ea2efa5 100644 --- a/rebar.config +++ b/rebar.config @@ -4,7 +4,7 @@ %% %% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later -{erl_opts, [debug_info]}. +{erl_opts, [debug_info, nowarn_sasl]}. {deps, []}. {escript_incl_apps, [atomvm_packbeam]}.