File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ fn main() {
35
35
if let Some ( true ) = version_check:: supports_feature ( "coverage_attribute" ) {
36
36
println ! ( "cargo:rustc-cfg=has_coverage_attribute" ) ;
37
37
}
38
+ println ! ( "cargo:rustc-check-cfg=cfg(has_coverage_attribute)" ) ;
38
39
generate_self_schema ( ) ;
39
40
println ! ( "cargo:rustc-env=PROFILE={}" , std:: env:: var( "PROFILE" ) . unwrap( ) ) ;
40
41
}
Original file line number Diff line number Diff line change @@ -290,7 +290,8 @@ impl ObTypeLookup {
290
290
/// We care about order here since:
291
291
/// 1. we pay a price for each `isinstance` call
292
292
/// 2. some types are subclasses of others, e.g. `bool` is a subclass of `int`
293
- /// hence we put common types first
293
+ /// hence we put common types first
294
+ ///
294
295
/// In addition, some types have inheritance set as a bitflag on the type object:
295
296
/// https://github.com/python/cpython/blob/v3.12.0rc1/Include/object.h#L546-L553
296
297
/// Hence they come first
You can’t perform that action at this time.
0 commit comments