From befe1803dba0cfff17ec372027fe500d686fd410 Mon Sep 17 00:00:00 2001 From: Aviv Palivoda Date: Sat, 20 Jul 2019 12:23:16 +0300 Subject: [PATCH] Add freeze-stdlib compile flag --- Cargo.toml | 1 + vm/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 0fef0d99e..9a163b07a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,7 @@ path = "./benchmarks/bench.rs" [features] default = ["rustpython-vm/use-proc-macro-hack"] flame-it = ["rustpython-vm/flame-it", "flame", "flamescope"] +freeze-stdlib = ["rustpython-vm/freeze-stdlib"] [dependencies] log="0.4.1" diff --git a/vm/Cargo.toml b/vm/Cargo.toml index ec27b0434..0b15c0b2e 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -13,6 +13,7 @@ default = ["rustpython-parser", "rustpython-compiler", "use-proc-macro-hack"] vm-tracing-logging = [] flame-it = ["flame", "flamer"] use-proc-macro-hack = ["proc-macro-hack", "rustpython-derive/proc-macro-hack"] +freeze-stdlib = [] [dependencies] # Crypto: