We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717140a commit 3d7e283Copy full SHA for 3d7e283
1 file changed
src/uu/unexpand/src/unexpand.rs
@@ -595,7 +595,7 @@ fn unexpand_file(
595
}
596
597
fn unexpand(options: &Options) -> UResult<()> {
598
- let mut buf = [0u8; 128];
+ let mut buf = vec![0u8; 128]; // stack spill with stack array and codegen-units=1 <https://github.com/rust-lang/rust/issues/148670>
599
let mut output = BufWriter::new(stdout());
600
let tab_config = &options.tab_config;
601
let lastcol = if tab_config.tabstops.len() > 1
0 commit comments