#Can I use a specific nightly tool in a project?

5 messages · Page 1 of 1 (latest)

tribal zephyr
#

I'm using the unstable features of rustfmt which is the sole reason I use the nightly Rust.
Can I adjust the toolchain so that I only use nightly rustfmt while the rest is stable?

tribal zephyr
#

Can I use a specific nightly tool in a project?

teal stirrup
#

I know you can just manually run cargo +nightly fmt.

tribal zephyr
#

it also installs the whole nightly toolchain right?

teal stirrup
#

You need to install the toolchain first. +<TOOLCHAIN> is just a way to override the toolchain for the specific action.