Skip to content

Commit ed7eb50

Browse files
authored
Require lint reasons in wasmtime-cli (#10175)
Continuation of #9696
1 parent 70c93c6 commit ed7eb50

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/commands/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const AFTER_HELP: &str =
3232
)]
3333
pub struct CompileCommand {
3434
#[command(flatten)]
35-
#[allow(missing_docs)]
35+
#[allow(missing_docs, reason = "don't want to mess with clap doc-strings")]
3636
pub common: CommonOptions,
3737

3838
/// The path of the output compiled module; defaults to `<MODULE>.cwasm`

src/commands/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fn parse_preloads(s: &str) -> Result<(String, PathBuf)> {
4444
#[derive(Parser)]
4545
pub struct RunCommand {
4646
#[command(flatten)]
47-
#[allow(missing_docs)]
47+
#[allow(missing_docs, reason = "don't want to mess with clap doc-strings")]
4848
pub run: RunCommon,
4949

5050
/// The name of the function to run

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
//! This crate implements the Wasmtime command line tools.
44
55
#![deny(missing_docs)]
6-
#![expect(clippy::allow_attributes_without_reason, reason = "crate not migrated")]
76

87
pub mod commands;
98

0 commit comments

Comments
 (0)