summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/build.rs b/cli/build.rs
index 930ba376f..d4e6a92ab 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -210,6 +210,8 @@ fn create_compiler_snapshot(
}
}),
);
+ js_runtime.sync_ops_cache();
+
create_snapshot(js_runtime, snapshot_path, files);
}