Lines Matching full:rust
259 rust="disabled"
787 --rust-target-triple=*) rust_target_triple="$optarg"
791 --enable-rust) rust=enabled
793 --disable-rust) rust=disabled
897 --rustc=RUSTC use Rust compiler RUSTC [$rustc]
909 --rust-target-triple=TRIPLE compilation target for Rust code [autodetect]
1185 # detect rust triple
1188 if test "$rust" != disabled && ! version_ge "$meson_version" 1.8.1; then
1189 if test "$rust" = enabled; then
1190 error_exit "Rust support needs Meson 1.8.1 or newer"
1192 echo "Rust needs Meson 1.8.1, disabling" 2>&1
1193 rust=disabled
1195 if test "$rust" != disabled && has "$rustc" && $rustc -vV > "${TMPDIR1}/${TMPB}.out"; then
1198 if test "$rust" = enabled; then
1201 rust=disabled
1203 if test "$rust" != disabled && test -z "$rust_target_triple"; then
1204 # arch and os generally matches between meson and rust
1784 if test "$rust" != disabled; then
1907 if test "$rust" != disabled; then
1909 echo "rust = [$(meson_quote $rustc --target "$rust_target_triple")]" >> $cross
1912 echo "rust = [$(meson_quote $rustc)]" >> $cross
1952 if test "$rust" != disabled; then
1953 echo "rust = [$(meson_quote $rustc)]" >> $cross
1973 test "$rust" != "disabled" && meson_option_add "-Drust=$rust"
2059 if test "$rust" != disabled; then
2061 echo 'INFO: Rust bindings generation with `bindgen` might fail in some cases where'