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