about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-15 12:13:12 +0000
committerbors <bors@rust-lang.org>2023-08-15 12:13:12 +0000
commitd548146c3000985b493ca45c1f2faab2ae21ea41 (patch)
treef035f8db00349fcbaf38509e7584e4275d7ad564 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentef2ee59631f9a0f62ff03b54befdef363675ceed (diff)
parent0ef541e535c9d301a62fe039c6904e4d82a5c824 (diff)
downloadrust-d548146c3000985b493ca45c1f2faab2ae21ea41.tar.gz
rust-d548146c3000985b493ca45c1f2faab2ae21ea41.zip
Auto merge of #15420 - Wilfred:discover_command_max_buffer, r=Veykril
Increase the buffer size for discover project command

The default value for maxBuffer is 1 MiB[1]. If the discover project command returns stdout or stderr that is greater than 1 MiB, the extension would error with "RangeError: stderr maxBuffer length exceeded".

Set the default value for maxBuffer to 10 MiB for project discovery.

[1] https://nodejs.org/api/child_process.html#child_processexeccommand-options-callback
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions