@@ -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,9 +2175,7 @@ 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 ;
@@ -2295,10 +2285,8 @@ unsafe extern "C" {
22952285 pub fn LLVMRustArchiveIteratorFree < ' a > ( AIR : & ' a mut ArchiveIterator < ' a > ) ;
22962286 pub fn LLVMRustDestroyArchive ( AR : & ' static mut Archive ) ;
22972287
2298- #[ allow( improper_ctypes) ]
22992288 pub fn LLVMRustWriteTwineToString ( T : & Twine , s : & RustString ) ;
23002289
2301- #[ allow( improper_ctypes) ]
23022290 pub fn LLVMRustUnpackOptimizationDiagnostic < ' a > (
23032291 DI : & ' a DiagnosticInfo ,
23042292 pass_name_out : & RustString ,
@@ -2316,7 +2304,6 @@ unsafe extern "C" {
23162304 message_out : & mut Option < & ' a Twine > ,
23172305 ) ;
23182306
2319- #[ allow( improper_ctypes) ]
23202307 pub fn LLVMRustWriteDiagnosticInfoToString ( DI : & DiagnosticInfo , s : & RustString ) ;
23212308 pub fn LLVMRustGetDiagInfoKind ( DI : & DiagnosticInfo ) -> DiagnosticKind ;
23222309
@@ -2325,7 +2312,6 @@ unsafe extern "C" {
23252312 cookie_out : & mut c_uint ,
23262313 ) -> & ' a SMDiagnostic ;
23272314
2328- #[ allow( improper_ctypes) ]
23292315 pub fn LLVMRustUnpackSMDiagnostic (
23302316 d : & SMDiagnostic ,
23312317 message_out : & RustString ,
@@ -2372,7 +2358,6 @@ unsafe extern "C" {
23722358 pub fn LLVMRustModuleBufferLen ( p : & ModuleBuffer ) -> usize ;
23732359 pub fn LLVMRustModuleBufferFree ( p : & ' static mut ModuleBuffer ) ;
23742360 pub fn LLVMRustModuleCost ( M : & Module ) -> u64 ;
2375- #[ allow( improper_ctypes) ]
23762361 pub fn LLVMRustModuleInstructionStats ( M : & Module , Str : & RustString ) ;
23772362
23782363 pub fn LLVMRustThinLTOBufferCreate (
@@ -2425,7 +2410,6 @@ unsafe extern "C" {
24252410 bytecode_len : usize ,
24262411 ) -> bool ;
24272412 pub fn LLVMRustLinkerFree < ' a > ( linker : & ' a mut Linker < ' a > ) ;
2428- #[ allow( improper_ctypes) ]
24292413 pub fn LLVMRustComputeLTOCacheKey (
24302414 key_out : & RustString ,
24312415 mod_id : * const c_char ,
@@ -2448,7 +2432,6 @@ unsafe extern "C" {
24482432 pgo_available : bool ,
24492433 ) ;
24502434
2451- #[ allow( improper_ctypes) ]
24522435 pub fn LLVMRustGetMangledName ( V : & Value , out : & RustString ) ;
24532436
24542437 pub fn LLVMRustGetElementTypeArgIndex ( CallSite : & Value ) -> i32 ;
0 commit comments