File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,13 @@ mod regen {
104104 regex:: escape( env!( "CARGO_MANIFEST_DIR" ) )
105105 ) )
106106 . unwrap ( ) ;
107+
108+ let blocklist_ty_regexpr = Regex :: new ( & format ! (
109+ r"({}\\deps\\phnt-nightly\\ntzwapi.h)" ,
110+ regex:: escape( env!( "CARGO_MANIFEST_DIR" ) )
111+ ) )
112+ . unwrap ( ) ;
113+
107114
108115 let blocklist_regexpr =
109116 Regex :: new ( & format ! ( r"({})" , self . blocklist_types. join( "|" ) ) ) . unwrap ( ) ;
@@ -150,7 +157,8 @@ mod regen {
150157 . raw_line ( raw_lines. join ( "\r \n " ) . as_str ( ) )
151158 . clang_args ( clang_args)
152159 . allowlist_file ( allowlist_regexpr. as_str ( ) )
153- . blocklist_type ( blocklist_regexpr. as_str ( ) )
160+ . blocklist_file ( blocklist_regexpr. as_str ( ) )
161+ . blocklist_type ( blocklist_ty_regexpr. as_str ( ) )
154162 . type_alias ( "NTSTATUS" )
155163 . opaque_type ( "std::.*" )
156164 . use_core ( )
You can’t perform that action at this time.
0 commit comments