Skip to content

Commit ae5a475

Browse files
committed
Merge pull request #742 from bettio/hello-world-no-libs
examples: do not pack any library with hello world Hello world example doesn't depend on any library so do not pack it with other avm files. These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents e8e2673 + 6e85617 commit ae5a475

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/erlang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ include(BuildErlang)
2525
add_subdirectory(esp32)
2626
add_subdirectory(rp2040)
2727

28-
pack_runnable(hello_world hello_world eavmlib)
28+
pack_runnable(hello_world hello_world)
2929
pack_runnable(udp_server udp_server estdlib eavmlib)
3030
pack_runnable(udp_client udp_client estdlib eavmlib)
3131
pack_runnable(tcp_client tcp_client estdlib eavmlib)

examples/erlang/hello_world.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
-export([start/0]).
2323

2424
start() ->
25-
console:puts("Hello World\n").
25+
erlang:display(hello_world).

0 commit comments

Comments
 (0)