mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
8 lines
287 B
Rust
8 lines
287 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
let rust_toolchain = env::var("RUSTUP_TOOLCHAIN").unwrap();
|
|
if rust_toolchain.starts_with("stable") {
|
|
panic!("Azalea currently requires nightly Rust. You can use `rustup override set nightly` to set the toolchain for this directory.");
|
|
}
|
|
}
|