mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
Update jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -50,7 +50,7 @@ fn execJS(
|
||||
pub fn main() !void {
|
||||
|
||||
// generate APIs
|
||||
const apis = try jsruntime.compile(DOM.Interfaces);
|
||||
const apis = comptime jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
// create v8 vm
|
||||
const vm = jsruntime.VM.init();
|
||||
|
||||
@@ -33,7 +33,7 @@ fn execJS(
|
||||
pub fn main() !void {
|
||||
|
||||
// generate APIs
|
||||
const apis = try jsruntime.compile(DOM.Interfaces);
|
||||
const apis = comptime jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
// allocator
|
||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
|
||||
@@ -66,7 +66,7 @@ const FileLoader = struct {
|
||||
pub fn main() !void {
|
||||
|
||||
// generate APIs
|
||||
const apis = comptime try jsruntime.compile(DOM.Interfaces);
|
||||
const apis = comptime jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
std.debug.print("Running WPT test suite\n", .{});
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ test {
|
||||
try generate.tests();
|
||||
|
||||
// generate APIs
|
||||
const apis = try jsruntime.compile(DOM.Interfaces);
|
||||
const apis = comptime jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
// create JS vm
|
||||
const vm = jsruntime.VM.init();
|
||||
|
||||
2
vendor/jsruntime-lib
vendored
2
vendor/jsruntime-lib
vendored
Submodule vendor/jsruntime-lib updated: c3a5fe93c0...9c7c10c0b2
Reference in New Issue
Block a user