about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-11-13 22:09:23 +0900
committerGitHub <noreply@github.com>2019-11-13 22:09:23 +0900
commit1cbd34faf226f55265822773a6a24892dfe3d044 (patch)
tree08ee0ac6cf95f4b97451723fc899e12fa4fcb41a /src/libstd/sys/unix/stack_overflow.rs
parentc75a48a924e195b5417c76f0d84ad4f002ed5fab (diff)
parentbfa5e5f788593f3395cac9ba14cdefa5afd5e465 (diff)
downloadrust-1cbd34faf226f55265822773a6a24892dfe3d044.tar.gz
rust-1cbd34faf226f55265822773a6a24892dfe3d044.zip
Rollup merge of #66317 - cuviper:bindir_relative, r=Mark-Simulacrum
Use a relative bindir for rustdoc to find rustc

In bootstrap, we set `RUSTC_INSTALL_BINDIR` to `config.bindir`, so
rustdoc can find rustc relative to the toolchain sysroot. However, if a
distro script like Fedora's `%configure` sets an absolute path, then
rustdoc's `sysroot.join(bin_path)` ignores that sysroot altogether.

That would be OK once the toolchain is actually installed, but it breaks
the in-tree doc tests during the build, since `/usr/bin/rustc` is still
the old version. So now we try to make `RUSTC_INSTALL_BINDIR` relative
to the sysroot prefix in the first place.

r? @Mark-Simulacrum
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions