File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ use mdbook::renderer::RenderContext;
2020use mdbook_linkcheck:: { self , errors:: BrokenLinks } ;
2121use failure:: Error ;
2222
23- #[ cfg( not( all( target_arch = "x86_64" , target_os = "linux" ) ) ) ]
24- use failure:: bail;
25-
2623fn main ( ) {
2724 let d_message = "-d, --dest-dir=[dest-dir]
2825'The output directory for your book{n}(Defaults to ./book when omitted)'" ;
@@ -109,7 +106,8 @@ pub fn linkcheck(args: &ArgMatches<'_>) -> Result<(), Error> {
109106
110107#[ cfg( not( all( target_arch = "x86_64" , target_os = "linux" ) ) ) ]
111108pub fn linkcheck ( _args : & ArgMatches < ' _ > ) -> Result < ( ) , Error > {
112- bail ! ( "mdbook-linkcheck only works on x86_64 linux targets." ) ;
109+ println ! ( "mdbook-linkcheck only works on x86_64 linux targets." ) ;
110+ Ok ( ( ) )
113111}
114112
115113// Build command implementation
You can’t perform that action at this time.
0 commit comments