aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2024-01-21 12:06:33 +0100
committerLuuk de Gram <luuk@degram.dev>2024-02-29 15:23:03 +0100
commit0a030d6598a42eae6f6af829e03bba053336b51c (patch)
treedc18ba8e2eebf6b1b13c5a17bf317e7aa792b928 /lib/std/Build
parent94f3a18c88eaee9a36a08a1b00c9df0584a01b05 (diff)
downloadzig-0a030d6598a42eae6f6af829e03bba053336b51c.tar.gz
zig-0a030d6598a42eae6f6af829e03bba053336b51c.zip
wasm: Use `File.Index` for symbol locations
Rather than using the optional, we now directly use `File.Index` which can already represent an unknown file due to its `.null` value. This means we do not pay for the memory cost. This type of index is now used for: - SymbolLoc - Key of the functions map - InitFunc Now we can simply pass things like atom.file, object.file, loc.file etc whenever we need to access its representing object file which makes it a lot easier.
Diffstat (limited to 'lib/std/Build')
0 files changed, 0 insertions, 0 deletions