about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-05-15 21:09:55 -0700
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-05-17 09:26:18 -0700
commit453979462a2cba1c32b61f96a18c125805827291 (patch)
tree7dd23e9b2b007bb96f658549e14eacc5336b47fa /compiler/rustc_codegen_llvm/src
parent29e972dc608a0a2cb639decda1c9f30cb029e423 (diff)
downloadrust-453979462a2cba1c32b61f96a18c125805827291.tar.gz
rust-453979462a2cba1c32b61f96a18c125805827291.zip
rustdoc: make search.js a module
Previously, search.js relied on the DOM and the `window` object. It can now be
loaded in the absence of the DOM, for instance by Node. The same is true of
search-index.js.

This allows removing a lot of code from src/tools/rustdoc-js/tester.js that
tried to parse search.js and extract specific functions that were needed for
testing.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions