@@ -1789,7 +1789,6 @@ unsafe extern "C" {
17891789 ConstraintsLen : size_t ,
17901790 ) -> bool ;
17911791
1792- #[ allow( improper_ctypes) ]
17931792 pub ( crate ) fn LLVMRustCoverageWriteFilenamesSectionToBuffer (
17941793 Filenames : * const * const c_char ,
17951794 FilenamesLen : size_t ,
@@ -1798,7 +1797,6 @@ unsafe extern "C" {
17981797 BufferOut : & RustString ,
17991798 ) ;
18001799
1801- #[ allow( improper_ctypes) ]
18021800 pub ( crate ) fn LLVMRustCoverageWriteMappingToBuffer (
18031801 VirtualFileMappingIDs : * const c_uint ,
18041802 NumVirtualFileMappingIDs : c_uint ,
@@ -1821,14 +1819,8 @@ unsafe extern "C" {
18211819 FuncNameLen : size_t ,
18221820 ) -> & Value ;
18231821 pub ( crate ) fn LLVMRustCoverageHashByteArray ( Bytes : * const c_char , NumBytes : size_t ) -> u64 ;
1824-
1825- #[ allow( improper_ctypes) ]
18261822 pub ( crate ) fn LLVMRustCoverageWriteMapSectionNameToString ( M : & Module , Str : & RustString ) ;
1827-
1828- #[ allow( improper_ctypes) ]
18291823 pub ( crate ) fn LLVMRustCoverageWriteFuncSectionNameToString ( M : & Module , Str : & RustString ) ;
1830-
1831- #[ allow( improper_ctypes) ]
18321824 pub ( crate ) fn LLVMRustCoverageWriteMappingVarNameToString ( Str : & RustString ) ;
18331825
18341826 pub ( crate ) fn LLVMRustCoverageMappingVersion ( ) -> u32 ;
@@ -2183,14 +2175,11 @@ unsafe extern "C" {
21832175 pub fn LLVMRustDIBuilderCreateOpPlusUconst ( ) -> u64 ;
21842176 pub fn LLVMRustDIBuilderCreateOpLLVMFragment ( ) -> u64 ;
21852177
2186- #[ allow( improper_ctypes) ]
21872178 pub fn LLVMRustWriteTypeToString ( Type : & Type , s : & RustString ) ;
2188- #[ allow( improper_ctypes) ]
21892179 pub fn LLVMRustWriteValueToString ( value_ref : & Value , s : & RustString ) ;
21902180
21912181 pub fn LLVMRustHasFeature ( T : & TargetMachine , s : * const c_char ) -> bool ;
21922182
2193- #[ allow( improper_ctypes) ]
21942183 pub ( crate ) fn LLVMRustPrintTargetCPUs ( TM : & TargetMachine , OutStr : & RustString ) ;
21952184 pub fn LLVMRustGetTargetFeaturesCount ( T : & TargetMachine ) -> size_t ;
21962185 pub fn LLVMRustGetTargetFeature (
@@ -2295,10 +2284,8 @@ unsafe extern "C" {
22952284 pub fn LLVMRustArchiveIteratorFree < ' a > ( AIR : & ' a mut ArchiveIterator < ' a > ) ;
22962285 pub fn LLVMRustDestroyArchive ( AR : & ' static mut Archive ) ;
22972286
2298- #[ allow( improper_ctypes) ]
22992287 pub fn LLVMRustWriteTwineToString ( T : & Twine , s : & RustString ) ;
23002288
2301- #[ allow( improper_ctypes) ]
23022289 pub fn LLVMRustUnpackOptimizationDiagnostic < ' a > (
23032290 DI : & ' a DiagnosticInfo ,
23042291 pass_name_out : & RustString ,
@@ -2316,7 +2303,6 @@ unsafe extern "C" {
23162303 message_out : & mut Option < & ' a Twine > ,
23172304 ) ;
23182305
2319- #[ allow( improper_ctypes) ]
23202306 pub fn LLVMRustWriteDiagnosticInfoToString ( DI : & DiagnosticInfo , s : & RustString ) ;
23212307 pub fn LLVMRustGetDiagInfoKind ( DI : & DiagnosticInfo ) -> DiagnosticKind ;
23222308
@@ -2325,7 +2311,6 @@ unsafe extern "C" {
23252311 cookie_out : & mut c_uint ,
23262312 ) -> & ' a SMDiagnostic ;
23272313
2328- #[ allow( improper_ctypes) ]
23292314 pub fn LLVMRustUnpackSMDiagnostic (
23302315 d : & SMDiagnostic ,
23312316 message_out : & RustString ,
@@ -2372,7 +2357,6 @@ unsafe extern "C" {
23722357 pub fn LLVMRustModuleBufferLen ( p : & ModuleBuffer ) -> usize ;
23732358 pub fn LLVMRustModuleBufferFree ( p : & ' static mut ModuleBuffer ) ;
23742359 pub fn LLVMRustModuleCost ( M : & Module ) -> u64 ;
2375- #[ allow( improper_ctypes) ]
23762360 pub fn LLVMRustModuleInstructionStats ( M : & Module , Str : & RustString ) ;
23772361
23782362 pub fn LLVMRustThinLTOBufferCreate (
@@ -2425,7 +2409,6 @@ unsafe extern "C" {
24252409 bytecode_len : usize ,
24262410 ) -> bool ;
24272411 pub fn LLVMRustLinkerFree < ' a > ( linker : & ' a mut Linker < ' a > ) ;
2428- #[ allow( improper_ctypes) ]
24292412 pub fn LLVMRustComputeLTOCacheKey (
24302413 key_out : & RustString ,
24312414 mod_id : * const c_char ,
@@ -2448,7 +2431,6 @@ unsafe extern "C" {
24482431 pgo_available : bool ,
24492432 ) ;
24502433
2451- #[ allow( improper_ctypes) ]
24522434 pub fn LLVMRustGetMangledName ( V : & Value , out : & RustString ) ;
24532435
24542436 pub fn LLVMRustGetElementTypeArgIndex ( CallSite : & Value ) -> i32 ;
0 commit comments