You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code will attempt to run rustup run nightly rustfmt in any situation that rustup is available, without fallback to the non-nightly version in the event it fails, for instance due to there not being an installed nightly toolchain.
Obviously, there are some known issues with 'old' versions of rustfmt, so prioritizing nightly when possible isn't that bad an idea, however currently there is no fallback of any sort short of preventing bindgen from finding any rustup binary.