alpha
Login
or
Join now
nandi.uk
/
gleam
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Fork of daniellemaywood.uk/gleam — Wasm codegen work
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Apply suggestions on PR and linter
author
Benjamin Milde
committer
Louis Pilfold
date
1 year ago
(Feb 9, 2025, 1:16 PM UTC)
commit
79ce7149
79ce71497b9565e27ae8ad3b9cd5a8ae83ae9f09
parent
d43ef83b
d43ef83b28b8be891472c9104fa09f1a740cd9aa
+2
-2
2 changed files
Expand all
Collapse all
Unified
Split
compiler-cli
templates
gleam@@compile.erl
compiler-core
src
codegen.rs
+1
-1
compiler-cli/templates/gleam@@compile.erl
View file
Reviewed
···
141
141
{ok, ModuleAtoms, _} ->
142
142
ToBeam = fun(ModuleAtom) ->
143
143
Beam = filename:join(Out, atom_to_list(ModuleAtom)) ++ ".beam",
144
144
-
log({compiled, ModuleAtom, Beam}),
144
144
+
log({compiled, Beam}),
145
145
{ModuleAtom, Beam}
146
146
end,
147
147
{true, lists:map(ToBeam, ModuleAtoms)};
+1
-1
compiler-core/src/codegen.rs
View file
Reviewed
···
116
116
.chain(native_modules)
117
117
.unique()
118
118
.sorted()
119
119
-
.map(|m| escape_atom_string((&m).clone().into()))
119
119
+
.map(|m| escape_atom_string(m.clone().into()))
120
120
.join(",\n ");
121
121
122
122
// TODO: When precompiling for production (i.e. as a precompiled hex