@@ -631,16 +631,16 @@ struct Commands {
631631 installConfig(`
632632 "^wasm(32|64)-.*-emscripten":
633633 {
634- lib-dirs = [
635- "%%ldcbinarypath%%/../xpacks/opend-latest-xpack-emscripten/lib",
636- ];
637-
638- switches = [
639- "-defaultlib=druntime-ldc",
640- "--linker=emcc` ~ ext~ ` ",
641- "-i=std",
642- "-i=.",
643- ];
634+ lib-dirs = [
635+ "%%ldcbinarypath%%/../xpacks/opend-latest-xpack-emscripten/lib",
636+ ];
637+
638+ switches = [
639+ "-defaultlib=druntime-ldc",
640+ "--linker=emcc` ~ ext~ ` ",
641+ "-i=std",
642+ "-i=.",
643+ ];
644644 };
645645 ` );
646646
@@ -656,9 +656,9 @@ struct Commands {
656656 installConfig(`
657657 "x86_64-.*-windows-msvc":
658658 {
659- lib-dirs = [
660- "%%ldcbinarypath%%/../xpacks/opend-latest-xpack-win64/lib",
661- ];
659+ lib-dirs = [
660+ "%%ldcbinarypath%%/../xpacks/opend-latest-xpack-win64/lib",
661+ ];
662662 };
663663 ` );
664664
@@ -695,22 +695,22 @@ struct Commands {
695695 installConfig(`
696696 "x86_64-.*-linux-gnu.2.17":
697697 {
698- switches = [
699- "-defaultlib=phobos2-ldc,druntime-ldc",
700- "-L-lunwind",
701- "--gcc=%%ldcbinarypath%%/../xpacks/opend-latest-xpack-zig/zigcc` ~ ext~ ` ",
702- ];
703-
704- // default switches appended after all explicit command-line switches
705- post-switches = [
706- "-I%%ldcbinarypath%%/../import",
707- ];
708- // default directories to be searched for libraries when linking
709- lib-dirs = [
710- "%%ldcbinarypath%%/../lib",
711- ];
712- // default rpath when linking against the shared default libs
713- rpath = "%%ldcbinarypath%%/../lib";
698+ switches = [
699+ "-defaultlib=phobos2-ldc,druntime-ldc",
700+ "-L-lunwind",
701+ "--gcc=%%ldcbinarypath%%/../xpacks/opend-latest-xpack-zig/zigcc` ~ ext~ ` ",
702+ ];
703+
704+ // default switches appended after all explicit command-line switches
705+ post-switches = [
706+ "-I%%ldcbinarypath%%/../import",
707+ ];
708+ // default directories to be searched for libraries when linking
709+ lib-dirs = [
710+ "%%ldcbinarypath%%/../lib",
711+ ];
712+ // default rpath when linking against the shared default libs
713+ rpath = "%%ldcbinarypath%%/../lib";
714714 };
715715 ` );
716716
@@ -742,19 +742,19 @@ struct Commands {
742742 installConfig(`
743743 "aarch64-.*-linux-gnu.2.17":
744744 {
745- lib-dirs = [
746- "%%ldcbinarypath%%/../xpacks/opend-latest-xpack-rpi/lib",
747- ];
748-
749- switches = [
750- "-defaultlib=phobos2-ldc,druntime-ldc",
751- "-L-lunwind",
752- "--gcc=%%ldcbinarypath%%/../xpacks/opend-latest-xpack-rpi/zigcc` ~ ext~ ` ",
753- ];
754-
755- post-switches = [
756- "-I%%ldcbinarypath%%/../import",
757- ];
745+ lib-dirs = [
746+ "%%ldcbinarypath%%/../xpacks/opend-latest-xpack-rpi/lib",
747+ ];
748+
749+ switches = [
750+ "-defaultlib=phobos2-ldc,druntime-ldc",
751+ "-L-lunwind",
752+ "--gcc=%%ldcbinarypath%%/../xpacks/opend-latest-xpack-rpi/zigcc` ~ ext~ ` ",
753+ ];
754+
755+ post-switches = [
756+ "-I%%ldcbinarypath%%/../import",
757+ ];
758758 };
759759 ` );
760760
0 commit comments