Skip to content

Commit

Permalink
Merge pull request #77 from Browsercore/update_jsruntime
Browse files Browse the repository at this point in the history
Update jsruntime
  • Loading branch information
francisbouvier authored Nov 21, 2023
2 parents 885fae5 + c751b5f commit 7690f92
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/main_shell.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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(.{}){};
Expand Down
2 changes: 1 addition & 1 deletion src/main_wpt.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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", .{});

Expand Down
2 changes: 1 addition & 1 deletion src/run_tests.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion vendor/jsruntime-lib

0 comments on commit 7690f92

Please sign in to comment.