Skip to content

Commit

Permalink
reproducible builds trial 4
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Jul 21, 2024
1 parent 30e4d85 commit 1f636c1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 1f636c1

Please sign in to comment.