CFLAGS, CXXFLAGS, and LDFLAGS might still get used by some C/C++ components, but for the linker as invoked by rustc, I think you can stuff it in RUSTFLAGS="-Clink-arg=-foo -Clink-arg=-bar ...". Also remember that cc is used as the linker for most targets, so if you want to add a direct ld option, it would be like -Clink-arg=-Wl,option.