Skip to content

Commit befe180

Browse files
committed
Add freeze-stdlib compile flag
1 parent 1b48ade commit befe180

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ path = "./benchmarks/bench.rs"
1717
[features]
1818
default = ["rustpython-vm/use-proc-macro-hack"]
1919
flame-it = ["rustpython-vm/flame-it", "flame", "flamescope"]
20+
freeze-stdlib = ["rustpython-vm/freeze-stdlib"]
2021

2122
[dependencies]
2223
log="0.4.1"

vm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ default = ["rustpython-parser", "rustpython-compiler", "use-proc-macro-hack"]
1313
vm-tracing-logging = []
1414
flame-it = ["flame", "flamer"]
1515
use-proc-macro-hack = ["proc-macro-hack", "rustpython-derive/proc-macro-hack"]
16+
freeze-stdlib = []
1617

1718
[dependencies]
1819
# Crypto:

0 commit comments

Comments
 (0)