Ignore unused variable for non-linux builds
This commit is contained in:
parent
f0e45bfe81
commit
43cb7d08e4
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ pub fn linkcheck(args: &ArgMatches<'_>) -> Result<(), Error> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(all(target_arch = "x86_64", target_os = "linux")))]
|
#[cfg(not(all(target_arch = "x86_64", target_os = "linux")))]
|
||||||
pub fn linkcheck(args: &ArgMatches<'_>) -> Result<(), Error> {
|
pub fn linkcheck(_args: &ArgMatches<'_>) -> Result<(), Error> {
|
||||||
bail!("mdbook-linkcheck only works on x86_64 linux targets.");
|
bail!("mdbook-linkcheck only works on x86_64 linux targets.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue