Skip to content

Commit c8372d2

Browse files
authored
Some Readme updates (#575)
1 parent 8a1d5c8 commit c8372d2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ functions with hard requirements on some variables supplied by [cargo's
101101
build-script driver][cargo] that it has the `TARGET`, `OUT_DIR`, `OPT_LEVEL`,
102102
and `HOST` variables.
103103

104-
[cargo]: http://doc.crates.io/build-script.html#inputs-to-the-build-script
104+
[cargo]: https://doc.rust-lang.org/cargo/reference/build-scripts.html#inputs-to-the-build-script
105105

106106
## Optional features
107107

@@ -128,7 +128,7 @@ is being run. This crate does not ship a C compiler with it. The compiler
128128
required varies per platform, but there are three broad categories:
129129

130130
* Unix platforms require `cc` to be the C compiler. This can be found by
131-
installing cc/clang on Linux distributions and Xcode on OSX, for example.
131+
installing cc/clang on Linux distributions and Xcode on macOS, for example.
132132
* Windows platforms targeting MSVC (e.g. your target triple ends in `-msvc`)
133133
require `cl.exe` to be available and in `PATH`. This is typically found in
134134
standard Visual Studio installations and the `PATH` can be set up by running
@@ -138,12 +138,12 @@ required varies per platform, but there are three broad categories:
138138
[MinGW-w64](http://mingw-w64.org) distribution, which is using the
139139
[Win-builds](http://win-builds.org) installation system.
140140
You may also acquire it via
141-
[MSYS2](http://msys2.github.io), as explained [here][msys2-help]. Make sure
141+
[MSYS2](https://www.msys2.org/), as explained [here][msys2-help]. Make sure
142142
to install the appropriate architecture corresponding to your installation of
143143
rustc. GCC from older [MinGW](http://www.mingw.org) project is compatible
144144
only with 32-bit rust compiler.
145145

146-
[msys2-help]: http://github.com/rust-lang/rust#building-on-windows
146+
[msys2-help]: https://github.com/rust-lang/rust#building-on-windows
147147

148148
## C++ support
149149

@@ -161,7 +161,7 @@ fn main() {
161161

162162
For C++ libraries, the `CXX` and `CXXFLAGS` environment variables are used instead of `CC` and `CFLAGS`.
163163

164-
The C++ standard library may be linked to the crate target. By default it's `libc++` for OS X, FreeBSD, and OpenBSD, `libc++_shared` for Android, nothing for MSVC, and `libstdc++` for anything else. It can be changed in one of two ways:
164+
The C++ standard library may be linked to the crate target. By default it's `libc++` for macOS, FreeBSD, and OpenBSD, `libc++_shared` for Android, nothing for MSVC, and `libstdc++` for anything else. It can be changed in one of two ways:
165165

166166
1. by using the `cpp_link_stdlib` method on `Build`:
167167
```rust,no-run
@@ -209,9 +209,9 @@ fn main() {
209209
This project is licensed under either of
210210

211211
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
212-
http://www.apache.org/licenses/LICENSE-2.0)
212+
https://www.apache.org/licenses/LICENSE-2.0)
213213
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
214-
http://opensource.org/licenses/MIT)
214+
https://opensource.org/licenses/MIT)
215215

216216
at your option.
217217

0 commit comments

Comments
 (0)