On Tue, Feb 17, 2026 at 07:54 PM, Randy MacLeod wrote:
I'm still a bit uncomfortable with changing the way that target Rust is built to deal with
a Rust-native problem. Also there's the question about dynamic linking increasing runtime
by a small amount. Finally, I worry that few people/distros change the default linking to by dynamic.

So I won't object to this work-around especially if we can easily limit it to -native. Have you tried that?
Hi Randy,
 
I’ve now limited the change as you suggested:
  - rust-native links with LLVM dynamically
  - rust-target links with LLVM statically

This keeps the workaround only in -native and avoids changing how the target toolchain is built.
I reran the relevant tests and didn’t see any regressions or runtime issues.
I’ll send V3 shortly with this approach.

Thanks,
Sunil Dora