fix: ensure rustfmt runs when configured with ./
#15600
Merged
rustfmt runs when configured with ./
#15600