Select Git revision
trustall.rs
trustall.rs 434 B
use proc_collect::*;
trustall! {
fn hello() {
println!("in trust hello");
ext_hello();
}
#[entry]
#[inline(always)]
fn entry() {
hello();
}
#[interrupt]
fn i1() {
println!("i1");
}
#[interrupt]
fn i2() {
println!("i2");
}
#[exception]
fn exception() {
println!("exc");
}
}
fn ext_hello() {
println!("ext_hello");
}