Skip to content

Commit 8503e0d

Browse files
committed
Fix wasm build stdlib
1 parent 268a39f commit 8503e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wasm/lib/src/vm_class.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl StoredVirtualMachine {
4444
let mut settings = Settings::default();
4545
settings.allow_external_library = false;
4646
let interp = Interpreter::with_init(settings, |vm| {
47-
#[cfg(feature = "stdlib")]
47+
#[cfg(feature = "freeze-stdlib")]
4848
vm.add_native_modules(rustpython_stdlib::get_module_inits());
4949

5050
#[cfg(feature = "freeze-stdlib")]

0 commit comments

Comments
 (0)