about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorWilfred Hughes <wilfred@meta.com>2023-08-08 14:15:29 -0700
committerWilfred Hughes <wilfred@meta.com>2023-08-10 12:28:50 -0700
commit0ef541e535c9d301a62fe039c6904e4d82a5c824 (patch)
treeced2808ca227eb255af2ee990481af1aff160bc5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentddbbd6a7e76152629c376e4f966c2f7760a046a5 (diff)
downloadrust-0ef541e535c9d301a62fe039c6904e4d82a5c824.tar.gz
rust-0ef541e535c9d301a62fe039c6904e4d82a5c824.zip
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