]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_ssa/back/command.rs
Suggest defining type parameter when appropriate
[rust.git] / src / librustc_codegen_ssa / back / command.rs
index 5595386be243165d85b30071290c1bbe2d3a8fa1..30b055b3131499961da4db1de4f3a797ebb3e514 100644 (file)
@@ -7,8 +7,8 @@
 use std::mem;
 use std::process::{self, Output};
 
+use rustc_span::symbol::Symbol;
 use rustc_target::spec::LldFlavor;
-use syntax::symbol::Symbol;
 
 #[derive(Clone)]
 pub struct Command {
@@ -168,8 +168,8 @@ pub fn very_likely_to_exceed_some_spawn_limit(&self) -> bool {
         // error code if we fail to spawn and automatically re-spawning the
         // linker with smaller arguments.
         //
-        // [1]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx
-        // [2]: https://blogs.msdn.microsoft.com/oldnewthing/20031210-00/?p=41553
+        // [1]: https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessa
+        // [2]: https://devblogs.microsoft.com/oldnewthing/?p=41553
 
         let estimated_command_line_len = self.args.iter().map(|a| a.len()).sum::<usize>();
         estimated_command_line_len > 1024 * 6