From 159c1345d7a4d30c11bb1f1ee436adfa0375e2fd Mon Sep 17 00:00:00 2001 From: Lucy Date: Tue, 27 Jan 2026 18:38:10 -0500 Subject: [PATCH 1/3] maybe fix linux builds --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index d86d57a3..71a7b966 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,5 @@ [target.i686-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] + +[target.i686-unknown-linux-gnu] +rustflags = ["-C", "relocation-model=pic"] From f2eb1f22c8584258896235faa0f6f249cba73d34 Mon Sep 17 00:00:00 2001 From: Lucy Date: Tue, 27 Jan 2026 18:42:15 -0500 Subject: [PATCH 2/3] dont use `rust-lld` --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 71a7b966..d9af57d2 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,4 +2,4 @@ rustflags = ["-C", "target-feature=+crt-static"] [target.i686-unknown-linux-gnu] -rustflags = ["-C", "relocation-model=pic"] +rustflags = ["-C", "linker-features=-lld"] From a07ea2f47d3ed7fcbabd59eea00595811a1b7402 Mon Sep 17 00:00:00 2001 From: Lucy Date: Tue, 27 Jan 2026 18:46:46 -0500 Subject: [PATCH 3/3] maybe? --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index d9af57d2..0e889ae1 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,4 +2,4 @@ rustflags = ["-C", "target-feature=+crt-static"] [target.i686-unknown-linux-gnu] -rustflags = ["-C", "linker-features=-lld"] +linker = "gcc"