hamirmahal requested elliottt for a review on PR #9065.
hamirmahal requested wasmtime-default-reviewers for a review on PR #9065.
hamirmahal opened PR #9065 from hamirmahal:clippy-uninlined-format-args
to bytecodealliance:main
:
closes #9064.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
hamirmahal requested wasmtime-compiler-reviewers for a review on PR #9065.
hamirmahal updated PR #9065.
hamirmahal requested wasmtime-fuzz-reviewers for a review on PR #9065.
hamirmahal requested wasmtime-core-reviewers for a review on PR #9065.
hamirmahal updated PR #9065.
hamirmahal submitted PR review:
I can fix the
/home/runner/work/wasmtime/wasmtime/target/debug/build/cranelift-codegen-d924ecd4c940ea8b/out/inst_builder.rs
failures locally, but they're not in source control.
elliottt commented on PR #9065:
I can fix the
/home/runner/work/wasmtime/wasmtime/target/debug/build/cranelift-codegen-d924ecd4c940ea8b/out/inst_builder.rs
failures locally, but they're not in source control.Those are generated during the build, so we should figure out a different approach for fixing the errors. Perhaps we can emit an allow annotation when generating them?
alexcrichton commented on PR #9065:
Similar
#[allow]
annotations look like this and there might be some other locations as well.
hamirmahal updated PR #9065.
hamirmahal updated PR #9065.
hamirmahal updated PR #9065.
hamirmahal updated PR #9065.
hamirmahal updated PR #9065.
alexcrichton submitted PR review:
Thank you again for your work on this!
alexcrichton submitted PR review:
Thank you again for your work on this!
alexcrichton created PR review comment:
Were these clones being removed part of a separate clippy lint that was firing? Perhaps another good candidate to enable at the workspace level? (find to do in a separate PR)
alexcrichton merged PR #9065.
hamirmahal commented on PR #9065:
You're welcome!
hamirmahal submitted PR review.
hamirmahal created PR review comment:
I believe so, yes. I might be able to get to that this weekend.
hamirmahal submitted PR review.
hamirmahal created PR review comment:
I took a look, and it seems like
Cargo.toml
already warns aboutclone_on_copy
.[workspace.lints.clippy] # The default set of lints in Clippy is viewed as "too noisy" right now so # they're all turned off by default. Selective lints are then enabled below as # necessary. all = { level = 'allow', priority = -1 } clone_on_copy = 'warn' map_clone = 'warn' uninlined_format_args = 'warn' unnecessary_to_owned = 'warn' manual_strip = 'warn'
Last updated: Dec 23 2024 at 12:05 UTC