blob: 2fcd45e7657f39f04efbe87575a16e22dd251844 [file] [log] [blame] [edit]
/*
* Copyright 2021, Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#![no_std]
#![no_main]
// This file is a minimal test application to check panic's WAI.
use libcantrip::sdk_init;
#[no_mangle]
pub fn main() {
static mut HEAP: [u8; 4096] = [0; 4096];
sdk_init(unsafe { &mut HEAP });
panic!("Goodbye, cruel world");
}