mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
Add "incognito" compilation
This commit is contained in:
11 files changed
+118
-40
No files matched your search
@@ -46,6 +46,7 @@ pub struct CodeObject {
|
||||
pub source_path: String,
|
||||
pub first_line_number: usize,
|
||||
pub obj_name: String, // Name of the object that created this code object
|
||||
pub incognito: bool,
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
@@ -393,6 +394,7 @@ impl CodeObject {
|
||||
source_path,
|
||||
first_line_number,
|
||||
obj_name,
|
||||
incognito: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user