Skip to content

Commit

Permalink
rename zig linker to 'ld.zig'
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaricchi committed Sep 27, 2023
1 parent 59827e9 commit ba8c684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/markdown/Reference-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ These are return values of the `get_linker_id` method in a compiler object.
| ld.mold | The fast MOLD linker |
| ld.solaris | Solaris and illumos |
| ld.wasm | emscripten's wasm-ld linker |
| ld.zig | The Zig linker (C/C++ frontend; GNU-like) |
| ld64 | Apple ld64 |
| ld64.lld | The LLVM linker, with the ld64 interface |
| link | MSVC linker |
Expand All @@ -76,7 +77,6 @@ These are return values of the `get_linker_id` method in a compiler object.
| ccomp | CompCert used as the linker driver |
| mwldarm | The Metrowerks Linker with the ARM interface, used with mwccarm only |
| mwldeppc | The Metrowerks Linker with the PowerPC interface, used with mwcceppc only |
| zig | The Zig linker |

For languages that don't have separate dynamic linkers such as C# and Java, the
`get_linker_id` will return the compiler name.
Expand Down
2 changes: 1 addition & 1 deletion mesonbuild/linkers/linkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ def get_win_subsystem_args(self, value: str) -> T.List[str]:


class ZigDynamicLinker(LLVMDynamicLinker):
id = 'zig'
id = 'ld.zig'

def get_thinlto_cache_args(self, path: str) -> T.List[str]:
return []
Expand Down

0 comments on commit ba8c684

Please sign in to comment.