Rename architecture crate directory to arch

This commit is contained in:
Rui Ueyama committed 2026-09-14 22:54:34 +09:00
1 parent 972347aae9
commit 946c71146d
42 files changed
+23 -23

No files matched your search

+3 -3
View File
@@ -9,11 +9,11 @@ autotests = false
# The linker is generic over the target. Instantiating it for all twenty
# targets in one crate keeps the compiler on a single core for minutes, so
# each target is instantiated in a crate of its own under targets/, and the
# each target is instantiated in a crate of its own under arch/, and the
# executable in cli/ dispatches to them.
[workspace]
members = ["cli", "targets/*", "tests"]
default-members = [".", "cli", "targets/*", "tests"]
members = ["cli", "arch/*", "tests"]
default-members = [".", "cli", "arch/*", "tests"]
[dependencies]
blake3 = "1.8.7"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+20 -20
View File
@@ -17,26 +17,26 @@ harness = false
[dependencies]
mimalloc = { git = "https://github.com/rui314/mimalloc_rust", rev = "cc58b72775b8b5bc89ee37752af61fcb4f7c2909" }
mold = { path = ".." }
mold-target-x86_64 = { path = "../targets/x86_64", optional = true }
mold-target-i386 = { path = "../targets/i386", optional = true }
mold-target-arm32 = { path = "../targets/arm32", optional = true }
mold-target-arm32be = { path = "../targets/arm32be", optional = true }
mold-target-arm64 = { path = "../targets/arm64", optional = true }
mold-target-arm64be = { path = "../targets/arm64be", optional = true }
mold-target-riscv64 = { path = "../targets/riscv64", optional = true }
mold-target-riscv64be = { path = "../targets/riscv64be", optional = true }
mold-target-riscv32 = { path = "../targets/riscv32", optional = true }
mold-target-riscv32be = { path = "../targets/riscv32be", optional = true }
mold-target-ppc64v2 = { path = "../targets/ppc64v2", optional = true }
mold-target-ppc32 = { path = "../targets/ppc32", optional = true }
mold-target-ppc64v1 = { path = "../targets/ppc64v1", optional = true }
mold-target-s390x = { path = "../targets/s390x", optional = true }
mold-target-sparc64 = { path = "../targets/sparc64", optional = true }
mold-target-m68k = { path = "../targets/m68k", optional = true }
mold-target-sh4 = { path = "../targets/sh4", optional = true }
mold-target-sh4be = { path = "../targets/sh4be", optional = true }
mold-target-loongarch64 = { path = "../targets/loongarch64", optional = true }
mold-target-loongarch32 = { path = "../targets/loongarch32", optional = true }
mold-target-x86_64 = { path = "../arch/x86_64", optional = true }
mold-target-i386 = { path = "../arch/i386", optional = true }
mold-target-arm32 = { path = "../arch/arm32", optional = true }
mold-target-arm32be = { path = "../arch/arm32be", optional = true }
mold-target-arm64 = { path = "../arch/arm64", optional = true }
mold-target-arm64be = { path = "../arch/arm64be", optional = true }
mold-target-riscv64 = { path = "../arch/riscv64", optional = true }
mold-target-riscv64be = { path = "../arch/riscv64be", optional = true }
mold-target-riscv32 = { path = "../arch/riscv32", optional = true }
mold-target-riscv32be = { path = "../arch/riscv32be", optional = true }
mold-target-ppc64v2 = { path = "../arch/ppc64v2", optional = true }
mold-target-ppc32 = { path = "../arch/ppc32", optional = true }
mold-target-ppc64v1 = { path = "../arch/ppc64v1", optional = true }
mold-target-s390x = { path = "../arch/s390x", optional = true }
mold-target-sparc64 = { path = "../arch/sparc64", optional = true }
mold-target-m68k = { path = "../arch/m68k", optional = true }
mold-target-sh4 = { path = "../arch/sh4", optional = true }
mold-target-sh4be = { path = "../arch/sh4be", optional = true }
mold-target-loongarch64 = { path = "../arch/loongarch64", optional = true }
mold-target-loongarch32 = { path = "../arch/loongarch32", optional = true }
[dev-dependencies]
mold-tests = { path = "../tests" }