aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-08-24 17:53:10 +0200
committerLuuk de Gram <luuk@degram.dev>2022-08-30 16:38:51 +0200
commit414fcea162a751435f0194ed4a01785b3a0913a0 (patch)
tree6cbc50a49ec716991ae93522714d682f76c86513 /src/codegen
parentaa5568beb6931679dfa8eb498140a6a7f8858ae7 (diff)
downloadzig-414fcea162a751435f0194ed4a01785b3a0913a0.tar.gz
zig-414fcea162a751435f0194ed4a01785b3a0913a0.zip
link/Wasm: handle extern variables
Generate symbols for extern variables and try to resolve them. Unresolved 'data' symbols generate an error as they cannot be exported from the Wasm runtime into a Wasm module. This means, they can only be resolved by other object files such as from other Zig or C code compiled to Wasm.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions