From 84390f8cc3f9a32731c72cbf53fc70432eb89827 Mon Sep 17 00:00:00 2001 From: David Pacheco Date: Wed, 15 Jun 2022 14:08:08 -0700 Subject: [PATCH] disable string table compression on illumos in development (#1129) --- .cargo/config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.cargo/config b/.cargo/config index af9200c65e..7afd4b6173 100644 --- a/.cargo/config +++ b/.cargo/config @@ -7,3 +7,11 @@ [build] rustdocflags = "--document-private-items" +# On illumos, use `-znocompstrtab` to reduce link time. +# +# Note that these flags are overridden by a user's environment variable, so +# things critical to correctness probably don't belong here. +[target.x86_64-unknown-illumos] +rustflags = [ + "-C", "link-arg=-Wl,-znocompstrtab" +]