about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-22 17:51:36 +0800
committerkennytm <kennytm@gmail.com>2018-03-22 22:43:50 +0800
commit3e95c71c18208c8e4ed7cf0bece80b6cb27587bc (patch)
treef387eb8f4fb1b07cfa1ffe124cac6a7a523c3911 /src/rustllvm/RustWrapper.cpp
parent346a46e9d65b62d43eda6de2a23620a38889a198 (diff)
parent2ba41e9d7943912dafe2f508c97d4083249d97a4 (diff)
downloadrust-3e95c71c18208c8e4ed7cf0bece80b6cb27587bc.tar.gz
rust-3e95c71c18208c8e4ed7cf0bece80b6cb27587bc.zip
Rollup merge of #49225 - QuietMisdreavus:all-the-features-all-the-time, r=alexcrichton
whitelist every target feature for rustdoc

When https://github.com/rust-lang-nursery/stdsimd/pull/367 was attempted to be upstreamed, it failed to document on non-x86 targets because it made every intrinsic visible, even the ones on foreign arches. This change makes it so that whenever rustdoc asks for the target feature whitelist, it gets a list of every feature known to every arch in `rustc_trans/llvm_util.rs`.

Before pushing, i temporarily updated the `stdsimd` submodule to include the `doc(cfg)` change, generated documentation for `aarch64-unknown-linux-gnu`, and it completed without a problem. The generated `core::arch` docs contained complete submodules for all main arches.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions