Increase stack print buffer size to print test panics

Tests may write pretty long messages in panic output.
This commit is contained in:
Berkus Decker 2020-10-29 20:43:08 +02:00
parent 50d9caa5f6
commit aac05a8776
1 changed files with 1 additions and 1 deletions

View File

@ -36,6 +36,6 @@ pub fn _print(args: core::fmt::Arguments) {
pub fn _print(args: core::fmt::Arguments) {
use crate::{qemu, write_to};
let mut buf = [0u8; 512];
let mut buf = [0u8; 2048]; // Increase this buffer size to allow dumping larger panic texts.
qemu::semihosting::sys_write0_call(write_to::c_show(&mut buf, args).unwrap());
}