From 1f636c195296983eae8bcd263265fa28987fe58e Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Mon, 22 Jul 2024 05:42:34 +0700 Subject: [PATCH] reproducible builds trial 4 --- .cargo/config.toml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 33bea2280b..3fecc2f5a8 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,11 +1,11 @@ # TODO: We shouldn't go with tokio_unstable to production [target.aarch64-unknown-linux-musl] -rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tokio_unstable"] +rustflags = ["-C", "target-feature=-crt-static"] linker = "aarch64-linux-musl-gcc" [target.x86_64-unknown-linux-musl] -rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tokio_unstable"] +rustflags = ["-C", "target-feature=-crt-static"] linker = "x86_64-linux-musl-gcc" [target.aarch64-unknown-linux-gnu] @@ -14,14 +14,6 @@ linker = "aarch64-linux-gnu-gcc" [target.x86_64-unknown-linux-gnu] linker = "x86_64-linux-gnu-gcc" -[target.aarch64-pc-windows-gnu] -linker = "aarch64-w64-mingw32-gcc" -rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tokio_unstable", "-C", "link-arg=-Wl,--no-insert-timestamp"] - -[target.x86_64-pc-windows-gnu] -linker = "x86_64-w64-mingw32-gcc" -rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tokio_unstable", "-C", "link-arg=-Wl,--no-insert-timestamp"] - [profile.release] opt-level = 3 debug = false