File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,14 @@ edition = "2018"
99include = [" src/**/*.rs" , " Cargo.toml" , " build.rs" , " Lib/**/*.py" ]
1010
1111[features ]
12- default = [" compile-parse" , " threading" ]
12+ default = [" compile-parse" , " threading" , " std " ]
1313vm-tracing-logging = []
1414flame-it = [" flame" , " flamer" ]
1515freeze-stdlib = [" rustpython-pylib" ]
1616jit = [" rustpython-jit" ]
1717threading = [" rustpython-common/threading" ]
1818compile-parse = [" rustpython-parser" , " rustpython-compiler" ]
19+ std = [" rustpython-compiler/std" ] # enables compiler-core/std, parser/std, etc
1920
2021ssl = [" openssl" , " openssl-sys" , " openssl-probe" ]
2122
Original file line number Diff line number Diff line change 1212#![ allow( clippy:: module_inception) ]
1313#![ doc( html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png" ) ]
1414#![ doc( html_root_url = "https://docs.rs/rustpython-vm/" ) ]
15+ #![ cfg_attr( not( feature = "std" ) , no_std) ]
1516
1617#[ cfg( feature = "flame-it" ) ]
1718#[ macro_use]
You can’t perform that action at this time.
0 commit comments