blob: a11ba22a8f8bdcd101310404eda25e86102b37c0 [file] [log] [blame]
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05001# include this in your distribution to easily switch between versions
2# just by changing RUST_VERSION variable
3
4RUST_VERSION ?= "1.51.0"
5
6PREFERRED_VERSION_cargo ?= "${RUST_VERSION}"
7PREFERRED_VERSION_cargo-native ?= "${RUST_VERSION}"
8PREFERRED_VERSION_libstd-rs ?= "${RUST_VERSION}"
9PREFERRED_VERSION_rust ?= "${RUST_VERSION}"
10PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUST_VERSION}"
11PREFERRED_VERSION_rust-llvm ?= "${RUST_VERSION}"
12PREFERRED_VERSION_rust-llvm-native ?= "${RUST_VERSION}"
13PREFERRED_VERSION_rust-native ?= "${RUST_VERSION}"