~pixelherodev/zyg

ref: 7dccbd7d9dc502f2cd859c4c7ebd84a0d8f3acd7 zyg/test/rk9/3.zig -rw-r--r-- 183 bytes
7dccbd7dNoam Preil merge 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
const RK33 = struct{
	const panic = fn() noreturn{
		//TODO: add a hlt in here and reduce power
		while(true){}
	};
};

pub export const start = fn() noreturn{
	defer RK33.panic();
};