Hey folks, I'm checking out the experimental Rust ...
# general
q
Hey folks, I'm checking out the experimental Rust support - just for linting/formatting. I can't seem to configure the formatting (e.g.
edition = "2021"
), don't see any settings for the rules, our
rustfmt.toml
doesn't auto-propagate to the sandbox, and I can't seem to get it there. Am I missing anything?
b
From a look at the code https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/rust/lint/rustfmt/rules.py there does indeed seem to be no mention of that config file. You could try the external plugin from @gorgeous-winter-99296: https://github.com/tgolsson/pants-cargo-porcelain
q
oh awesome, will check it out, thanks!