diff options
| author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2022-05-15 21:09:55 -0700 |
|---|---|---|
| committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2022-05-17 09:26:18 -0700 |
| commit | 453979462a2cba1c32b61f96a18c125805827291 (patch) | |
| tree | 7dd23e9b2b007bb96f658549e14eacc5336b47fa /compiler/rustc_codegen_llvm/src | |
| parent | 29e972dc608a0a2cb639decda1c9f30cb029e423 (diff) | |
| download | rust-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
