mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
Refactor project structure
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
bd878dd1c9
commit
e3c227ae06
@ -0,0 +1,13 @@
|
||||
#![feature(register_tool)]
|
||||
#![register_tool(component_access_control)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate controlled;
|
||||
|
||||
#[controlled]
|
||||
pub static FOO_ITEM: usize = 0;
|
||||
|
||||
#[controlled]
|
||||
pub fn foo_add(left: usize, right: usize) -> usize {
|
||||
left + right
|
||||
}
|
Reference in New Issue
Block a user