Skip to content

Commit 0284059

Browse files
authored
Merge pull request RustPython#4933 from youknowone/fix-wasm-stdlib
Fix wasm build stdlib
2 parents 23fee27 + 8503e0d commit 0284059

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)