about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-06-20 13:36:00 -0400
committerGitHub <noreply@github.com>2025-06-20 13:36:00 -0400
commitbad4bf54f0609db4f70c70f331a9153b3004ca89 (patch)
tree4e6a461db7a70d1eddb49c7f354ee69fab63a278 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1e2ac532e4d82862fa58a08f415a6870df963677 (diff)
parent2eccf18075893f7ea2226f6d7d7df818606835cb (diff)
downloadrust-bad4bf54f0609db4f70c70f331a9153b3004ca89.tar.gz
rust-bad4bf54f0609db4f70c70f331a9153b3004ca89.zip
Rollup merge of #142497 - GuillaumeGomez:fix-random-search-failure, r=lolbinarycat
Fix random failure when JS code is executed when the whole file was not read yet

Very randomly (and rarely), when I arrived on a page with `?search=something` in the URL, I got this error:

![Screenshot From 2025-06-14 11-27-46](https://github.com/user-attachments/assets/4b61b067-4e80-49c1-9a45-cff1509bf86a)

Moving the `initSearch` function at the bottom to ensure everything has been loaded fixes the issue.

PS: Sorry for the noise. Pushed to the wrong branch and https://github.com/rust-lang/rust/pull/142496 closed. ><
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions