Fix sync build.
This commit is contained in:
@@ -1685,7 +1685,6 @@ impl Module {
|
||||
// Save global state
|
||||
let orig_imports_len = global.num_imports();
|
||||
let orig_source = global.source.clone();
|
||||
#[cfg(not(feature = "no_module"))]
|
||||
#[cfg(not(feature = "no_function"))]
|
||||
let orig_constants = std::mem::take(&mut global.constants);
|
||||
|
||||
@@ -1719,7 +1718,6 @@ impl Module {
|
||||
}
|
||||
|
||||
// Restore global state
|
||||
#[cfg(not(feature = "no_module"))]
|
||||
#[cfg(not(feature = "no_function"))]
|
||||
{
|
||||
global.constants = orig_constants;
|
||||
|
Reference in New Issue
Block a user