From cd7767c6ae6f10b0323ffd950a768e7db5496186 Mon Sep 17 00:00:00 2001 From: Alex Touchet Date: Sat, 29 Oct 2022 19:39:50 -0700 Subject: [PATCH] Update URLs --- README.md | 6 +++--- src/com.rs | 4 ++-- src/lib.rs | 4 ++-- src/registry.rs | 4 ++-- src/setup_config.rs | 4 ++-- src/winapi.rs | 4 ++-- src/windows_registry.rs | 6 +++--- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index b52e095..863540d 100644 --- a/README.md +++ b/README.md @@ -135,12 +135,12 @@ required varies per platform, but there are three broad categories: the appropriate developer tools shell. * Windows platforms targeting MinGW (e.g. your target triple ends in `-gnu`) require `cc` to be available in `PATH`. We recommend the - [MinGW-w64](http://mingw-w64.org) distribution, which is using the - [Win-builds](http://win-builds.org) installation system. + [MinGW-w64](https://www.mingw-w64.org/) distribution, which is using the + [Win-builds](http://win-builds.org/) installation system. You may also acquire it via [MSYS2](https://www.msys2.org/), as explained [here][msys2-help]. Make sure to install the appropriate architecture corresponding to your installation of - rustc. GCC from older [MinGW](http://www.mingw.org) project is compatible + rustc. GCC from older [MinGW](http://www.mingw.org/) project is compatible only with 32-bit rust compiler. [msys2-help]: https://github.com/rust-lang/rust#building-on-windows diff --git a/src/com.rs b/src/com.rs index a5f2afe..843247e 100644 --- a/src/com.rs +++ b/src/com.rs @@ -1,7 +1,7 @@ // Copyright © 2017 winapi-rs developers // Licensed under the Apache License, Version 2.0 -// or the MIT license -// , at your option. +// or the MIT license +// , at your option. // All files in the project carrying such notice may not be copied, modified, or distributed // except according to those terms. diff --git a/src/lib.rs b/src/lib.rs index 57f31ae..1303892 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2227,7 +2227,7 @@ impl Build { /* * TODO we probably ultimately want the -fembed-bitcode-marker flag * but can't have it now because of an issue in LLVM: - * https://github.com/alexcrichton/cc-rs/issues/301 + * https://github.com/rust-lang/cc-rs/issues/301 * https://github.com/rust-lang/rust/pull/48896#comment-372192660 */ /* @@ -3261,7 +3261,7 @@ fn spawn(cmd: &mut Command, program: &str) -> Result<(Child, JoinHandle<()>), Er } Err(ref e) if e.kind() == io::ErrorKind::NotFound => { let extra = if cfg!(windows) { - " (see https://github.com/alexcrichton/cc-rs#compile-time-requirements \ + " (see https://github.com/rust-lang/cc-rs#compile-time-requirements \ for help)" } else { "" diff --git a/src/registry.rs b/src/registry.rs index 2ac2fa6..3fbaaa9 100644 --- a/src/registry.rs +++ b/src/registry.rs @@ -3,8 +3,8 @@ // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your +// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// , at your // option. This file may not be copied, modified, or distributed // except according to those terms. diff --git a/src/setup_config.rs b/src/setup_config.rs index bc2b1c2..030051c 100644 --- a/src/setup_config.rs +++ b/src/setup_config.rs @@ -1,7 +1,7 @@ // Copyright © 2017 winapi-rs developers // Licensed under the Apache License, Version 2.0 -// or the MIT license -// , at your option. +// or the MIT license +// , at your option. // All files in the project carrying such notice may not be copied, modified, or distributed // except according to those terms. diff --git a/src/winapi.rs b/src/winapi.rs index c416325..8e04ce9 100644 --- a/src/winapi.rs +++ b/src/winapi.rs @@ -1,7 +1,7 @@ // Copyright © 2015-2017 winapi-rs developers // Licensed under the Apache License, Version 2.0 -// or the MIT license -// , at your option. +// or the MIT license +// , at your option. // All files in the project carrying such notice may not be copied, modified, or distributed // except according to those terms. diff --git a/src/windows_registry.rs b/src/windows_registry.rs index 549082b..36be029 100644 --- a/src/windows_registry.rs +++ b/src/windows_registry.rs @@ -3,8 +3,8 @@ // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your +// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// , at your // option. This file may not be copied, modified, or distributed // except according to those terms. @@ -393,7 +393,7 @@ mod impl_ { // according to Microsoft. To help head off potential regressions though, // we keep the registry method as a fallback option. // - // [more reliable]: https://github.com/alexcrichton/cc-rs/pull/331 + // [more reliable]: https://github.com/rust-lang/cc-rs/pull/331 fn find_tool_in_vs15_path(tool: &str, target: &str) -> Option { let mut path = match vs15plus_instances(target) { Some(instances) => instances