Commit 2cfd33b
Skip all linker work when --no-link is set
Move no_link_obj check to beginning of flushModuleInner to avoid
all linking overhead including ZigObject flush and object parsing.
When using -fllvm with --no-link, LLVM handles object emission
directly so we don't need any linker operations.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 0cab656 commit 2cfd33b
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
842 | 847 | | |
843 | 848 | | |
844 | 849 | | |
| |||
849 | 854 | | |
850 | 855 | | |
851 | 856 | | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| |||
0 commit comments