Skip to content

Commit

Permalink
split linker code into a separate file. NFC (emscripten-core#20717)
Browse files Browse the repository at this point in the history
This change moves more than half of the code in emcc.py which is used
only for linking into its own file (link.py).  This makes reasoning
about the code easier and paves the way for a fast path then only
compiling (e.g. this code shouldn't even need to be imported when only
compiling).  See emscripten-core#20577.
  • Loading branch information
sbc100 authored Nov 16, 2023
1 parent 0e3e9b5 commit 1ead8f3
Show file tree
Hide file tree
Showing 4 changed files with 3,039 additions and 2,992 deletions.
3 changes: 2 additions & 1 deletion em++.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

import sys
import emcc
from tools import shared

emcc.run_via_emxx = True
shared.run_via_emxx = True

if __name__ == '__main__':
try:
Expand Down
Loading

0 comments on commit 1ead8f3

Please sign in to comment.