bitflags升级,配套修改

Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
ljy9810
2025-11-13 11:50:34 +08:00
parent c5e093355c
commit 47578c3c78
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -128,6 +128,7 @@ fn root_import(
}
bitflags! {
#[derive(Copy, Clone)]
struct DerivableTraits: u16 {
const DEBUG = 1 << 0;
const DEFAULT = 1 << 1;
+1
View File
@@ -107,6 +107,7 @@ fn args_are_cpp(clang_args: &[Box<str>]) -> bool {
}
bitflags! {
#[derive(Copy, Clone, Debug)]
/// A type used to indicate which kind of items we have to generate.
pub struct CodegenConfig: u32 {
/// Whether to generate functions.