diff options
| author | jyn <github@jyn.dev> | 2025-08-09 11:49:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-09 11:49:35 -0400 |
| commit | f4d3dd03945d2c61fc152a9c8ddc4a785c71d3d6 (patch) | |
| tree | ae4b66993b52951087d5dac7e41c0b779ccbd570 | |
| parent | 30721b0e909d7451a37bbb4ae371e1c909a0cbaf (diff) | |
| download | rust-f4d3dd03945d2c61fc152a9c8ddc4a785c71d3d6.tar.gz rust-f4d3dd03945d2c61fc152a9c8ddc4a785c71d3d6.zip | |
Apply suggestions from code review
Co-authored-by: Florian Bartels <108917393+flba-eb@users.noreply.github.com> Co-authored-by: Mads Marquart <mads@marquart.dk>
| -rw-r--r-- | src/doc/unstable-book/src/compiler-environment-variables/QNX_TARGET.md | 2 | ||||
| -rw-r--r-- | src/doc/unstable-book/src/compiler-environment-variables/SDKROOT.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/unstable-book/src/compiler-environment-variables/QNX_TARGET.md b/src/doc/unstable-book/src/compiler-environment-variables/QNX_TARGET.md index cc98fc3b3b2..46511598e70 100644 --- a/src/doc/unstable-book/src/compiler-environment-variables/QNX_TARGET.md +++ b/src/doc/unstable-book/src/compiler-environment-variables/QNX_TARGET.md @@ -8,4 +8,4 @@ You should [set this variable] by running `source qnxsdp-env.sh`. See [the QNX docs] for more background information. [set this variable]: https://www.qnx.com/developers/docs/qsc/com.qnx.doc.qsc.inst_larg_org/topic/build_server_developer_steps.html -[the QNX docs]: https://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.neutrino.io_sock/topic/migrate_app.html. +[the QNX docs]: https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.neutrino.io_sock/topic/migrate_app.html. diff --git a/src/doc/unstable-book/src/compiler-environment-variables/SDKROOT.md b/src/doc/unstable-book/src/compiler-environment-variables/SDKROOT.md index b00c2f773ad..be9ed02f54d 100644 --- a/src/doc/unstable-book/src/compiler-environment-variables/SDKROOT.md +++ b/src/doc/unstable-book/src/compiler-environment-variables/SDKROOT.md @@ -1,6 +1,6 @@ # `SDKROOT` -This environment variable is used on MacOS targets. -It is passed through to the linker (either as `-isysroot` or `-syslibroot`) without changes. +This environment variable is used on Apple targets. +It is passed through to the linker (currently either as `-isysroot` or `-syslibroot`). Note that this variable is not always respected. When the SDKROOT is clearly wrong (e.g. when the platform of the SDK does not match the `--target` used by rustc), this is ignored and rustc does its own detection. |
