diff options
Diffstat (limited to 'link_rust.sh.in')
-rw-r--r-- | link_rust.sh.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/link_rust.sh.in b/link_rust.sh.in new file mode 100644 index 0000000000..59f4142baa --- /dev/null +++ b/link_rust.sh.in @@ -0,0 +1,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@ "$@" |