To set up the nightly toolchain with rustc-codegen-cranelift-preview, run the following commands:
rustc-codegen-cranelift-preview
rustup default nightly rustup component add rustc-codegen-cranelift-preview --toolchain nightly