##// END OF EJS Templates
rust-cpython: allow mutation unless leaked reference is borrowed...
rust-cpython: allow mutation unless leaked reference is borrowed In other words, mutation is allowed while a Python iterator holding PyLeaked exists. The iterator will be invalidated instead. We still need a borrow_count to prevent mutation while leaked data is dereferenced in Rust world, but most leak_count business is superseded by the generation counter. decrease_leak_count(py, true) will be removed soon.

File last commit:

r40154:cd490ac9 default
r43606:ed50f2c3 default
Show More
build.rs
9 lines | 173 B | application/rls-services+xml | RustLexer
extern crate cc;
fn main() {
cc::Build::new()
.warnings(true)
.file("src/sendfds.c")
.file("src/sighandlers.c")
.compile("procutil");
}