@@ -1016,7 +1016,7 @@ impl Build {
10161016
10171017 /// Run the compiler, generating the file `output`
10181018 ///
1019- /// This will return a result instead of panicing ; see compile() for the complete description.
1019+ /// This will return a result instead of panicking ; see compile() for the complete description.
10201020 pub fn try_compile ( & self , output : & str ) -> Result < ( ) , Error > {
10211021 let mut output_components = Path :: new ( output) . components ( ) ;
10221022 match ( output_components. next ( ) , output_components. next ( ) ) {
@@ -1201,7 +1201,7 @@ impl Build {
12011201 /// Run the compiler, generating intermediate files, but without linking
12021202 /// them into an archive file.
12031203 ///
1204- /// This will return a result instead of panicing ; see `compile_intermediates()` for the complete description.
1204+ /// This will return a result instead of panicking ; see `compile_intermediates()` for the complete description.
12051205 pub fn try_compile_intermediates ( & self ) -> Result < Vec < PathBuf > , Error > {
12061206 let dst = self . get_out_dir ( ) ?;
12071207 let objects = objects_from_files ( & self . files , & dst) ?;
@@ -1436,7 +1436,7 @@ impl Build {
14361436 Ok ( ( cmd, name) )
14371437 }
14381438
1439- /// This will return a result instead of panicing ; see expand() for the complete description.
1439+ /// This will return a result instead of panicking ; see expand() for the complete description.
14401440 pub fn try_expand ( & self ) -> Result < Vec < u8 > , Error > {
14411441 let compiler = self . try_get_compiler ( ) ?;
14421442 let mut cmd = compiler. to_command ( ) ;
@@ -1523,7 +1523,7 @@ impl Build {
15231523
15241524 /// Get the compiler that's in use for this configuration.
15251525 ///
1526- /// This will return a result instead of panicing ; see
1526+ /// This will return a result instead of panicking ; see
15271527 /// [`get_compiler()`](Self::get_compiler) for the complete description.
15281528 pub fn try_get_compiler ( & self ) -> Result < Tool , Error > {
15291529 let opt_level = self . get_opt_level ( ) ?;
@@ -2778,7 +2778,7 @@ impl Build {
27782778
27792779 /// Get the archiver that's in use for this configuration.
27802780 ///
2781- /// This will return a result instead of panicing ;
2781+ /// This will return a result instead of panicking ;
27822782 /// see [`Self::get_archiver`] for the complete description.
27832783 pub fn try_get_archiver ( & self ) -> Result < Command , Error > {
27842784 Ok ( self . try_get_archiver_and_flags ( ) ?. 0 )
@@ -2829,7 +2829,7 @@ impl Build {
28292829
28302830 /// Get the ranlib that's in use for this configuration.
28312831 ///
2832- /// This will return a result instead of panicing ;
2832+ /// This will return a result instead of panicking ;
28332833 /// see [`Self::get_ranlib`] for the complete description.
28342834 pub fn try_get_ranlib ( & self ) -> Result < Command , Error > {
28352835 let mut cmd = self . get_base_ranlib ( ) ?;
@@ -2873,7 +2873,7 @@ impl Build {
28732873 // Formally speaking one should be able to use this approach,
28742874 // parsing -print-search-dirs output, to cover all clang targets,
28752875 // including Android SDKs and other cross-compilation scenarios...
2876- // And even extend it to gcc targets by seaching for "ar" instead
2876+ // And even extend it to gcc targets by searching for "ar" instead
28772877 // of "llvm-ar"...
28782878 let compiler = self . get_base_compiler ( ) . ok ( ) ?;
28792879 if compiler. family == ToolFamily :: Clang {
@@ -2944,7 +2944,7 @@ impl Build {
29442944 Some ( p) => {
29452945 // GCC uses $target-gcc-ar, whereas binutils uses $target-ar -- try both.
29462946 // Prefer -ar if it exists, as builds of `-gcc-ar` have been observed to be
2947- // outright broken (such as when targetting freebsd with `--disable-lto`
2947+ // outright broken (such as when targeting freebsd with `--disable-lto`
29482948 // toolchain where the archiver attempts to load the LTO plugin anyway but
29492949 // fails to find one).
29502950 //
0 commit comments