summaryrefslogtreecommitdiff
path: root/link_rust.sh.in
blob: 59f4142baabdcf7390d2b6d73ed4770204a7964f (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# A linker script used when building Rust tests.  Autoconf makes link_rust.sh
# from link_rust_sh.in, and uses it to pass extra options to the linker
# when linking Rust stuff.
#
# We'd like to remove the need for this, but build.rs doesn't let us pass
# -static-libasan and -static-libubsan to the linker.

$CCLD @RUST_LINKER_OPTIONS@ "$@"