mirror of
https://github.com/rui314/mold.git
synced 2026-11-09 17:52:02 -10:00
Consolidate shared Cargo workspace settings
This commit is contained in:
1 parent
e2e85b3fc7
commit
47a35e8b38
23 files changed
+101
-92
No files matched your search
+13
-4
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "mold"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "A high-performance ELF linker, rewritten in Rust"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
# tests/lib.rs belongs to the mold-tests workspace crate.
|
||||
autotests = false
|
||||
|
||||
@@ -15,6 +15,15 @@ autotests = false
|
||||
members = ["cli", "arch/*", "tests"]
|
||||
default-members = [".", "cli", "arch/*", "tests"]
|
||||
|
||||
[workspace.package]
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
[workspace.dependencies]
|
||||
libc = "0.2"
|
||||
mold = { path = "." }
|
||||
|
||||
[dependencies]
|
||||
blake3 = "1.8.7"
|
||||
bstr = "1"
|
||||
@@ -23,7 +32,7 @@ crc32fast = "1"
|
||||
flate2 = "1"
|
||||
getrandom = "0.4.3"
|
||||
hashbrown = "0.17.1"
|
||||
libc = "0.2"
|
||||
libc.workspace = true
|
||||
libz-sys = "1.1.29"
|
||||
memchr = "2.8.3"
|
||||
memmap2 = "0.9"
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-arm32"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for arm32"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-arm32be"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for arm32be"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-arm64"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for arm64"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-arm64be"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for arm64be"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-i386"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for i386"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-loongarch32"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for loongarch32"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-loongarch64"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for loongarch64"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-m68k"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for m68k"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-ppc32"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for ppc32"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-ppc64v1"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for ppc64v1"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-ppc64v2"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for ppc64v2"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-riscv32"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for riscv32"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-riscv32be"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for riscv32be"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-riscv64"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for riscv64"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-riscv64be"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for riscv64be"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-s390x"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for s390x"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-sh4"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for sh4"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-sh4be"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for sh4be"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-sparc64"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for sparc64"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "mold-target-x86_64"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold linker instantiated for x86_64"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
mold = { path = "../.." }
|
||||
mold.workspace = true
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "mold-cli"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "The mold executable"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "mold"
|
||||
@@ -16,7 +16,7 @@ harness = false
|
||||
|
||||
[dependencies]
|
||||
mimalloc = { git = "https://github.com/rui314/mimalloc_rust", rev = "cc58b72775b8b5bc89ee37752af61fcb4f7c2909" }
|
||||
mold = { path = ".." }
|
||||
mold.workspace = 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 }
|
||||
|
||||
+4
-4
@@ -1,13 +1,13 @@
|
||||
[package]
|
||||
name = "mold-tests"
|
||||
version = "2.42.1"
|
||||
edition = "2021"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Test support for mold's shell test suite"
|
||||
license = "MIT"
|
||||
license.workspace = true
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2"
|
||||
libc.workspace = true
|
||||
Reference in new issue
Block a user