Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fn main() {
if let Some(true) = version_check::supports_feature("coverage_attribute") {
println!("cargo:rustc-cfg=has_coverage_attribute");
}
println!("cargo:rustc-check-cfg=cfg(has_coverage_attribute)");
generate_self_schema();
println!("cargo:rustc-env=PROFILE={}", std::env::var("PROFILE").unwrap());
}
3 changes: 2 additions & 1 deletion src/serializers/ob_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ impl ObTypeLookup {
/// We care about order here since:
/// 1. we pay a price for each `isinstance` call
/// 2. some types are subclasses of others, e.g. `bool` is a subclass of `int`
/// hence we put common types first
/// hence we put common types first
///
/// In addition, some types have inheritance set as a bitflag on the type object:
/// https://github.com/python/cpython/blob/v3.12.0rc1/Include/object.h#L546-L553
/// Hence they come first
Expand Down