We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@rules_rust//:rustfmt
Any target which has a generated module (source file) will cause rustfmt to fail. The following error is produced on #2255
~/Code/rules_rust (rustfmt ✗) bazel run //:rustfmt INFO: Analyzed target //:rustfmt (1 packages loaded, 12 targets configured). INFO: Found 1 target... Target //tools/rustfmt:rustfmt up-to-date: bazel-bin/tools/rustfmt/rustfmt INFO: Elapsed time: 0.463s, Critical Path: 0.37s INFO: 5 processes: 1 internal, 4 darwin-sandbox. INFO: Build completed successfully, 5 total actions INFO: Running command line: bazel-bin/tools/rustfmt/rustfmt checking cached actions checking cached actions checking cached actions checking cached actions checking cached actions Loading: 0 packages loaded Loading: 181 packages loaded Loading: 0 packages loaded Loading: 4 packages loaded Loading: 0 packages loaded INFO: Empty results Loading: 0 packages loaded Loading: 0 packages loaded Loading: 26 packages loaded Error writing files: failed to resolve mod `generated`: /Users/user/Code/rules_rust/test/rustfmt/srcs/generated/generated.rs does not exist
The text was updated successfully, but these errors were encountered:
rust-lang/rustfmt#5962 appears to be a relevant rustfmt issue.
Sorry, something went wrong.
Support rustfmt on crates with generated sources (#2255)
ce1b842
closes #2254
Successfully merging a pull request may close this issue.
Any target which has a generated module (source file) will cause rustfmt to fail. The following error is produced on #2255
The text was updated successfully, but these errors were encountered: