aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo/config.toml
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
committersalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
commit45d0d3c5f431688aa9dfbd6a4214256d6fe64122 (patch)
tree862ca7949b0e6c1c8084f2fe7431bfa56364d8fc /.cargo/config.toml
parent0.9.1: correctness fixes from the audit (diff)
downloadagent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.tar.gz
agent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.zip
0.9.2: doc accuracy and UX fixes from the review
- missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary
Diffstat (limited to '.cargo/config.toml')
-rw-r--r--.cargo/config.toml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 17369d2..cb59564 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -2,12 +2,19 @@
2# On an older glibc the dynamic linker resolves them to NULL (std falls back to 2# On an older glibc the dynamic linker resolves them to NULL (std falls back to
3# posix_spawn), but it also prints a warning on every start: 3# posix_spawn), but it also prints a warning on every start:
4# 4#
5# /lib/i386-linux-gnu/libc.so.6: weak version `GLIBC_2.39' not found 5# /lib/.../libc.so.6: weak version `GLIBC_2.39' not found
6# 6#
7# Defining them locally as absolute 0 removes the version need while keeping the 7# Defining them locally as absolute 0 removes the version need while keeping the
8# same runtime behaviour: the check sees NULL and takes the fallback path. 8# same runtime behaviour: the check sees NULL and takes the fallback path.
9
9[target.i686-unknown-linux-gnu] 10[target.i686-unknown-linux-gnu]
10rustflags = [ 11rustflags = [
11 "-C", "link-arg=-Wl,--defsym,pidfd_spawnp=0", 12 "-C", "link-arg=-Wl,--defsym,pidfd_spawnp=0",
12 "-C", "link-arg=-Wl,--defsym,pidfd_getpid=0", 13 "-C", "link-arg=-Wl,--defsym,pidfd_getpid=0",
13] 14]
15
16[target.x86_64-unknown-linux-gnu]
17rustflags = [
18 "-C", "link-arg=-Wl,--defsym,pidfd_spawnp=0",
19 "-C", "link-arg=-Wl,--defsym,pidfd_getpid=0",
20]