@@ -1789,7 +1789,6 @@ unsafe extern "C" {
1789
1789
ConstraintsLen : size_t ,
1790
1790
) -> bool ;
1791
1791
1792
- #[ allow( improper_ctypes) ]
1793
1792
pub ( crate ) fn LLVMRustCoverageWriteFilenamesSectionToBuffer (
1794
1793
Filenames : * const * const c_char ,
1795
1794
FilenamesLen : size_t ,
@@ -1798,7 +1797,6 @@ unsafe extern "C" {
1798
1797
BufferOut : & RustString ,
1799
1798
) ;
1800
1799
1801
- #[ allow( improper_ctypes) ]
1802
1800
pub ( crate ) fn LLVMRustCoverageWriteMappingToBuffer (
1803
1801
VirtualFileMappingIDs : * const c_uint ,
1804
1802
NumVirtualFileMappingIDs : c_uint ,
@@ -1821,14 +1819,8 @@ unsafe extern "C" {
1821
1819
FuncNameLen : size_t ,
1822
1820
) -> & Value ;
1823
1821
pub ( crate ) fn LLVMRustCoverageHashByteArray ( Bytes : * const c_char , NumBytes : size_t ) -> u64 ;
1824
-
1825
- #[ allow( improper_ctypes) ]
1826
1822
pub ( crate ) fn LLVMRustCoverageWriteMapSectionNameToString ( M : & Module , Str : & RustString ) ;
1827
-
1828
- #[ allow( improper_ctypes) ]
1829
1823
pub ( crate ) fn LLVMRustCoverageWriteFuncSectionNameToString ( M : & Module , Str : & RustString ) ;
1830
-
1831
- #[ allow( improper_ctypes) ]
1832
1824
pub ( crate ) fn LLVMRustCoverageWriteMappingVarNameToString ( Str : & RustString ) ;
1833
1825
1834
1826
pub ( crate ) fn LLVMRustCoverageMappingVersion ( ) -> u32 ;
@@ -2183,14 +2175,11 @@ unsafe extern "C" {
2183
2175
pub fn LLVMRustDIBuilderCreateOpPlusUconst ( ) -> u64 ;
2184
2176
pub fn LLVMRustDIBuilderCreateOpLLVMFragment ( ) -> u64 ;
2185
2177
2186
- #[ allow( improper_ctypes) ]
2187
2178
pub fn LLVMRustWriteTypeToString ( Type : & Type , s : & RustString ) ;
2188
- #[ allow( improper_ctypes) ]
2189
2179
pub fn LLVMRustWriteValueToString ( value_ref : & Value , s : & RustString ) ;
2190
2180
2191
2181
pub fn LLVMRustHasFeature ( T : & TargetMachine , s : * const c_char ) -> bool ;
2192
2182
2193
- #[ allow( improper_ctypes) ]
2194
2183
pub ( crate ) fn LLVMRustPrintTargetCPUs ( TM : & TargetMachine , OutStr : & RustString ) ;
2195
2184
pub fn LLVMRustGetTargetFeaturesCount ( T : & TargetMachine ) -> size_t ;
2196
2185
pub fn LLVMRustGetTargetFeature (
@@ -2295,10 +2284,8 @@ unsafe extern "C" {
2295
2284
pub fn LLVMRustArchiveIteratorFree < ' a > ( AIR : & ' a mut ArchiveIterator < ' a > ) ;
2296
2285
pub fn LLVMRustDestroyArchive ( AR : & ' static mut Archive ) ;
2297
2286
2298
- #[ allow( improper_ctypes) ]
2299
2287
pub fn LLVMRustWriteTwineToString ( T : & Twine , s : & RustString ) ;
2300
2288
2301
- #[ allow( improper_ctypes) ]
2302
2289
pub fn LLVMRustUnpackOptimizationDiagnostic < ' a > (
2303
2290
DI : & ' a DiagnosticInfo ,
2304
2291
pass_name_out : & RustString ,
@@ -2316,7 +2303,6 @@ unsafe extern "C" {
2316
2303
message_out : & mut Option < & ' a Twine > ,
2317
2304
) ;
2318
2305
2319
- #[ allow( improper_ctypes) ]
2320
2306
pub fn LLVMRustWriteDiagnosticInfoToString ( DI : & DiagnosticInfo , s : & RustString ) ;
2321
2307
pub fn LLVMRustGetDiagInfoKind ( DI : & DiagnosticInfo ) -> DiagnosticKind ;
2322
2308
@@ -2325,7 +2311,6 @@ unsafe extern "C" {
2325
2311
cookie_out : & mut c_uint ,
2326
2312
) -> & ' a SMDiagnostic ;
2327
2313
2328
- #[ allow( improper_ctypes) ]
2329
2314
pub fn LLVMRustUnpackSMDiagnostic (
2330
2315
d : & SMDiagnostic ,
2331
2316
message_out : & RustString ,
@@ -2372,7 +2357,6 @@ unsafe extern "C" {
2372
2357
pub fn LLVMRustModuleBufferLen ( p : & ModuleBuffer ) -> usize ;
2373
2358
pub fn LLVMRustModuleBufferFree ( p : & ' static mut ModuleBuffer ) ;
2374
2359
pub fn LLVMRustModuleCost ( M : & Module ) -> u64 ;
2375
- #[ allow( improper_ctypes) ]
2376
2360
pub fn LLVMRustModuleInstructionStats ( M : & Module , Str : & RustString ) ;
2377
2361
2378
2362
pub fn LLVMRustThinLTOBufferCreate (
@@ -2425,7 +2409,6 @@ unsafe extern "C" {
2425
2409
bytecode_len : usize ,
2426
2410
) -> bool ;
2427
2411
pub fn LLVMRustLinkerFree < ' a > ( linker : & ' a mut Linker < ' a > ) ;
2428
- #[ allow( improper_ctypes) ]
2429
2412
pub fn LLVMRustComputeLTOCacheKey (
2430
2413
key_out : & RustString ,
2431
2414
mod_id : * const c_char ,
@@ -2448,7 +2431,6 @@ unsafe extern "C" {
2448
2431
pgo_available : bool ,
2449
2432
) ;
2450
2433
2451
- #[ allow( improper_ctypes) ]
2452
2434
pub fn LLVMRustGetMangledName ( V : & Value , out : & RustString ) ;
2453
2435
2454
2436
pub fn LLVMRustGetElementTypeArgIndex ( CallSite : & Value ) -> i32 ;
0 commit comments