From 095dfb698f9cc6838f968f6bb78df1b1a1fbacfc Mon Sep 17 00:00:00 2001 From: David Pacheco Date: Fri, 27 May 2022 11:09:51 -0700 Subject: [PATCH] disable string table compression on illumos in development --- .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" +]