about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-11-11 14:22:23 -0800
committerJosh Stone <jistone@redhat.com>2019-11-11 14:22:23 -0800
commit1aee3e4d087755b40df50533dbfbc5fb80c90ff7 (patch)
tree8629a91f1028fc1d4d5e328337a093c7318677a6 /src/libstd/sys/unix/stack_overflow.rs
parent56237d75b4271a8a2e0f47d86ea76ebf6d966152 (diff)
downloadrust-1aee3e4d087755b40df50533dbfbc5fb80c90ff7.tar.gz
rust-1aee3e4d087755b40df50533dbfbc5fb80c90ff7.zip
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions