diff options
author | Luke Channings <461449+LukeChannings@users.noreply.github.com> | 2022-10-16 23:53:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 00:53:35 +0200 |
commit | d2c8b5f0875c6c5ee7d99d2b2f487adf01a3b903 (patch) | |
tree | ef91eef2e30c4ab71f773a03179171da1b0b1327 /cli/lsp/language_server.rs | |
parent | 9fe508dfb955ff49e7e87aa208717a1cbf525437 (diff) |
fix(build) fix linux symbols export list format (#16313)
Fixes the error reported in #16304.
> = note:
/usr/bin/ld:/home/abotella/Projects/deno/cli/generated_symbol_exports_list_linux.def:1:
syntax error in dynamic list
collect2: error: ld returned 1 exit status
This was caused by the format of the symbols list on Linux being
malformed (as the error implies).
The format is documented in ld's
[VERSION](https://sourceware.org/binutils/docs/ld/VERSION.html) as well
as:
> --export-dynamic-symbol-list=file
Specify a --export-dynamic-symbol for each pattern in the
file. The format of the file is the same as the version node
without scope and node name. See VERSION for more
information.
Previously, the format for the Linux symbols list was simply a list of
symbols, now it follows the format:
```
{ symbol_name_a; ...; symbol_name_z };
```
Diffstat (limited to 'cli/lsp/language_server.rs')
0 files changed, 0 insertions, 0 deletions