License rust and c source files

This commit is contained in:
Jianfeng Jiang
2024-01-03 03:22:36 +00:00
committed by Tate, Hongliang Tian
parent 5fb8a9f7e5
commit faaa4438d6
559 changed files with 1192 additions and 89 deletions

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
use itertools::Itertools;
use proc_macro2::{Ident, TokenStream};
use quote::{quote, TokenStreamExt};

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
//This crate defines the procedural macro typeflags to implement capability for Asterinas.
//! When using this crate, typeflags-util should also be added as dependency.
//! This is due to typeflgas is a proc-macro crate, which is only allowed to export proc-macro interfaces.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
use proc_macro2::TokenStream;
use quote::quote;
use syn::{

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
use proc_macro2::{Ident, TokenStream};
use quote::{quote, TokenStreamExt};