From f7a49a27608efedb82939b32750158a4f93eb50b Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Wed, 19 Nov 2025 10:13:07 -0600 Subject: [PATCH] Revert "Build for WASM32 and use the LLD linker" This reverts commit 3cabfa46c30dfee99311d2eef77fb9ecdf79765f. I don't need to patch the linker, I need to take a dependency on the one it's trying to use. --- ...ld-for-WASM32-and-use-the-LLD-linker.patch | 23 ------------------- debian/patches/series | 1 - 2 files changed, 24 deletions(-) delete mode 100644 debian/patches/0004-Build-for-WASM32-and-use-the-LLD-linker.patch diff --git a/debian/patches/0004-Build-for-WASM32-and-use-the-LLD-linker.patch b/debian/patches/0004-Build-for-WASM32-and-use-the-LLD-linker.patch deleted file mode 100644 index 00b7c725..00000000 --- a/debian/patches/0004-Build-for-WASM32-and-use-the-LLD-linker.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Robert Garrett -Date: Tue, 18 Nov 2025 14:11:39 -0600 -Subject: Build for WASM32 and use the LLD linker - -I'm overriding the build to only produce WASM32 binaries. ---- - .cargo/config.toml | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/.cargo/config.toml b/.cargo/config.toml -index b651240..ef7bb6b 100644 ---- a/.cargo/config.toml -+++ b/.cargo/config.toml -@@ -1,5 +1,9 @@ -+[build] -+target = "wasm32-unknown-unknown" -+ - [target.wasm32-unknown-unknown] - runner = "wasm-server-runner" -+linker = "lld" - - [source.crates-io] - replace-with = "vendored-sources" diff --git a/debian/patches/series b/debian/patches/series index 857daaf8..d552fd42 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,3 @@ 0001-Alter-blake3-to-emit-Built-Using-info.patch 0002-Use-pure-Rust-implementation-of-Blake3-parts.patch 0003-Use-mini-as-release-profile.patch -0004-Build-for-WASM32-and-use-the-LLD-linker.patch