link_rust.sh.in 355 B

12345678910
  1. #!/bin/sh
  2. #
  3. # A linker script used when building Rust tests. Autoconf makes link_rust.sh
  4. # from link_rust_sh.in, and uses it to pass extra options to the linker
  5. # when linking Rust stuff.
  6. #
  7. # We'd like to remove the need for this, but build.rs doesn't let us pass
  8. # -static-libasan and -static-libubsan to the linker.
  9. "$CCLD" @RUST_LINKER_OPTIONS@ "$@"