2015-11-04 01:57:43 +03:00
|
|
|
# Options to enable rust in automation builds.
|
|
|
|
|
2016-12-22 15:18:05 +03:00
|
|
|
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
|
|
|
|
2015-11-04 01:57:43 +03:00
|
|
|
# Tell configure to use the tooltool rustc.
|
2016-12-22 15:18:05 +03:00
|
|
|
RUSTC="$TOOLTOOL_DIR/rustc/bin/rustc"
|
|
|
|
CARGO="$TOOLTOOL_DIR/rustc/bin/cargo"
|
2018-05-02 13:02:04 +03:00
|
|
|
RUSTDOC="$TOOLTOOL_DIR/rustc/bin/rustdoc"
|
2018-06-27 08:27:43 +03:00
|
|
|
RUSTFMT="$TOOLTOOL_DIR/rustc/bin/rustfmt"
|
2018-08-17 19:43:06 +03:00
|
|
|
CBINDGEN="$TOOLTOOL_DIR/cbindgen/cbindgen"
|
2017-05-29 19:43:30 +03:00
|
|
|
|
|
|
|
ac_add_options --enable-rust-simd
|