summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2023-05-05 17:27:59 -0700
committerJosh Stone <jistone@redhat.com>2023-05-05 17:27:59 -0700
commit67ae38a336599a7e0d2898a5ea3416b947458f5d (patch)
tree0f24046523b66ae6f70b3db3d196cf24f4f3f534 /tests/rustdoc-js-std/parser-errors.js
parentf9a6b71580cd53dd4491d9bb6400f7ee841d9c22 (diff)
downloadrust-67ae38a336599a7e0d2898a5ea3416b947458f5d.tar.gz
Expand the LLVM coverage of `--print target-cpus`
We've been relying on a custom patch to add `MCSubtargetInfo::getCPUTable` for `rustc --print target-cpus`, and just printing that it's not supported on external LLVM builds. LLVM `main` now has `getAllProcessorDescriptions` that can replace ours, so now we try to use that. In addition, the fallback path can at least print the native and default cpu options. There were also some mismatches in the function signatures here between `LLVM_RUSTLLVM` and otherwise; this is now mitigated by sharing these functions and only using cpp to adjust the function bodies.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions