diff options
| author | Lzu Tao <taolzu@gmail.com> | 2019-12-25 15:35:54 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2019-12-25 15:35:54 +0000 |
| commit | 3a2ef17194d7bfe56e75a3504327b38bcad979ef (patch) | |
| tree | 1e6ca368b2a0dc2766f2b7aabc13487d662d7607 /src/librustc_codegen_ssa/back | |
| parent | ed33453a37d602f34cc40c205f9b9b8a8aff88b5 (diff) | |
| download | rust-3a2ef17194d7bfe56e75a3504327b38bcad979ef.tar.gz rust-3a2ef17194d7bfe56e75a3504327b38bcad979ef.zip | |
tidy: change msdn links to newer locations
see accouncement at https://docs.microsoft.com/welcome-to-docs
Diffstat (limited to 'src/librustc_codegen_ssa/back')
| -rw-r--r-- | src/librustc_codegen_ssa/back/command.rs | 4 | ||||
| -rw-r--r-- | src/librustc_codegen_ssa/back/link.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_codegen_ssa/back/command.rs b/src/librustc_codegen_ssa/back/command.rs index 5595386be24..dcc16416e5e 100644 --- a/src/librustc_codegen_ssa/back/command.rs +++ b/src/librustc_codegen_ssa/back/command.rs @@ -168,8 +168,8 @@ impl Command { // 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 diff --git a/src/librustc_codegen_ssa/back/link.rs b/src/librustc_codegen_ssa/back/link.rs index f3420f9a9f9..c7a599a5749 100644 --- a/src/librustc_codegen_ssa/back/link.rs +++ b/src/librustc_codegen_ssa/back/link.rs @@ -1044,7 +1044,7 @@ pub fn exec_linker( fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { if self.is_like_msvc { // This is "documented" at - // https://msdn.microsoft.com/en-us/library/4xdcbak7.aspx + // https://docs.microsoft.com/en-us/cpp/build/reference/at-specify-a-linker-response-file // // Unfortunately there's not a great specification of the // syntax I could find online (at least) but some local |
