microsoft / microsoft/vscode-cpptools

Link bundled LLVM tools against shared VC runtime to reduce size of VSIX

Offen
#13,151 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@Colengms arbeitet bereits daran.

Seit 14.1.2025.

internal Language Service
Vorherrschende Sprache
TypeScript
Sterne
6.2k
Forks
1.7k
Ø Merge
14 Std. 46 Min.
Gemergte PRs (30 T.)
61

Beschreibung

To address another issue, I've had to link libiconv.dll, and binaries that reference it, against the shared runtime. (libiconv returns results in errno, so it's necessary for the caller to link against the same runtime to access the same errno variable). We already distribute the shared runtime in our 'bin' directory.

It would be possible to link our bundled LLVM tools (clang-tidy, clang-format) to the shared runtime as well. Currently, they are linked statically against the runtime. We'd have to move them into the same 'bin' directory. This could slightly reduce the size of the VSIX.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.