@@ -1766,11 +1766,9 @@ unsafe extern "C" {
17661766 pub fn LLVMRustGetLastError ( ) -> * const c_char ;
17671767
17681768 /// Prints the timing information collected by `-Ztime-llvm-passes`.
1769- #[ expect( improper_ctypes) ]
17701769 pub ( crate ) fn LLVMRustPrintPassTimings ( OutStr : & RustString ) ;
17711770
17721771 /// Prints the statistics collected by `-Zprint-codegen-stats`.
1773- #[ expect( improper_ctypes) ]
17741772 pub ( crate ) fn LLVMRustPrintStatistics ( OutStr : & RustString ) ;
17751773
17761774 /// Prepares inline assembly.
@@ -1791,7 +1789,6 @@ unsafe extern "C" {
17911789 ConstraintsLen : size_t ,
17921790 ) -> bool ;
17931791
1794- #[ allow( improper_ctypes) ]
17951792 pub ( crate ) fn LLVMRustCoverageWriteFilenamesToBuffer (
17961793 Filenames : * const * const c_char ,
17971794 FilenamesLen : size_t ,
@@ -1800,7 +1797,6 @@ unsafe extern "C" {
18001797 BufferOut : & RustString ,
18011798 ) ;
18021799
1803- #[ allow( improper_ctypes) ]
18041800 pub ( crate ) fn LLVMRustCoverageWriteFunctionMappingsToBuffer (
18051801 VirtualFileMappingIDs : * const c_uint ,
18061802 NumVirtualFileMappingIDs : size_t ,
@@ -1824,13 +1820,10 @@ unsafe extern "C" {
18241820 ) -> & Value ;
18251821 pub ( crate ) fn LLVMRustCoverageHashBytes ( Bytes : * const c_char , NumBytes : size_t ) -> u64 ;
18261822
1827- #[ allow( improper_ctypes) ]
18281823 pub ( crate ) fn LLVMRustCoverageWriteCovmapSectionNameToString ( M : & Module , OutStr : & RustString ) ;
18291824
1830- #[ allow( improper_ctypes) ]
18311825 pub ( crate ) fn LLVMRustCoverageWriteCovfunSectionNameToString ( M : & Module , OutStr : & RustString ) ;
18321826
1833- #[ allow( improper_ctypes) ]
18341827 pub ( crate ) fn LLVMRustCoverageWriteCovmapVarNameToString ( OutStr : & RustString ) ;
18351828
18361829 pub ( crate ) fn LLVMRustCoverageMappingVersion ( ) -> u32 ;
@@ -2185,14 +2178,11 @@ unsafe extern "C" {
21852178 pub fn LLVMRustDIBuilderCreateOpPlusUconst ( ) -> u64 ;
21862179 pub fn LLVMRustDIBuilderCreateOpLLVMFragment ( ) -> u64 ;
21872180
2188- #[ allow( improper_ctypes) ]
21892181 pub fn LLVMRustWriteTypeToString ( Type : & Type , s : & RustString ) ;
2190- #[ allow( improper_ctypes) ]
21912182 pub fn LLVMRustWriteValueToString ( value_ref : & Value , s : & RustString ) ;
21922183
21932184 pub fn LLVMRustHasFeature ( T : & TargetMachine , s : * const c_char ) -> bool ;
21942185
2195- #[ allow( improper_ctypes) ]
21962186 pub ( crate ) fn LLVMRustPrintTargetCPUs ( TM : & TargetMachine , OutStr : & RustString ) ;
21972187 pub fn LLVMRustGetTargetFeaturesCount ( T : & TargetMachine ) -> size_t ;
21982188 pub fn LLVMRustGetTargetFeature (
@@ -2297,10 +2287,8 @@ unsafe extern "C" {
22972287 pub fn LLVMRustArchiveIteratorFree < ' a > ( AIR : & ' a mut ArchiveIterator < ' a > ) ;
22982288 pub fn LLVMRustDestroyArchive ( AR : & ' static mut Archive ) ;
22992289
2300- #[ allow( improper_ctypes) ]
23012290 pub fn LLVMRustWriteTwineToString ( T : & Twine , s : & RustString ) ;
23022291
2303- #[ allow( improper_ctypes) ]
23042292 pub fn LLVMRustUnpackOptimizationDiagnostic < ' a > (
23052293 DI : & ' a DiagnosticInfo ,
23062294 pass_name_out : & RustString ,
@@ -2318,7 +2306,6 @@ unsafe extern "C" {
23182306 message_out : & mut Option < & ' a Twine > ,
23192307 ) ;
23202308
2321- #[ allow( improper_ctypes) ]
23222309 pub fn LLVMRustWriteDiagnosticInfoToString ( DI : & DiagnosticInfo , s : & RustString ) ;
23232310 pub fn LLVMRustGetDiagInfoKind ( DI : & DiagnosticInfo ) -> DiagnosticKind ;
23242311
@@ -2327,7 +2314,6 @@ unsafe extern "C" {
23272314 cookie_out : & mut c_uint ,
23282315 ) -> & ' a SMDiagnostic ;
23292316
2330- #[ allow( improper_ctypes) ]
23312317 pub fn LLVMRustUnpackSMDiagnostic (
23322318 d : & SMDiagnostic ,
23332319 message_out : & RustString ,
@@ -2374,7 +2360,6 @@ unsafe extern "C" {
23742360 pub fn LLVMRustModuleBufferLen ( p : & ModuleBuffer ) -> usize ;
23752361 pub fn LLVMRustModuleBufferFree ( p : & ' static mut ModuleBuffer ) ;
23762362 pub fn LLVMRustModuleCost ( M : & Module ) -> u64 ;
2377- #[ allow( improper_ctypes) ]
23782363 pub fn LLVMRustModuleInstructionStats ( M : & Module , Str : & RustString ) ;
23792364
23802365 pub fn LLVMRustThinLTOBufferCreate (
@@ -2427,7 +2412,6 @@ unsafe extern "C" {
24272412 bytecode_len : usize ,
24282413 ) -> bool ;
24292414 pub fn LLVMRustLinkerFree < ' a > ( linker : & ' a mut Linker < ' a > ) ;
2430- #[ allow( improper_ctypes) ]
24312415 pub fn LLVMRustComputeLTOCacheKey (
24322416 key_out : & RustString ,
24332417 mod_id : * const c_char ,
@@ -2450,7 +2434,6 @@ unsafe extern "C" {
24502434 pgo_available : bool ,
24512435 ) ;
24522436
2453- #[ allow( improper_ctypes) ]
24542437 pub fn LLVMRustGetMangledName ( V : & Value , out : & RustString ) ;
24552438
24562439 pub fn LLVMRustGetElementTypeArgIndex ( CallSite : & Value ) -> i32 ;
0 commit comments