Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For now only using clang. Adds -vga none to the qemu command for all targets. But AFAICS that's safe as both x86 and arm use serial consoles already. Uses RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C, not RUST_OPT_LEVEL_0 like other configs. In order to avoid crashes like: Rust Example (init) Am I built-in? true Parameters: my_bool: true my_i32: 123321 my_str: 🦀mod my_usize: 42 my_array: [0, 1] Value: 10 Value: 10 Large array has length: 514 Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.12.0-rc3+ #1 Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
- Loading branch information