Skip to content

Commit 01e8231

Browse files
committed
remove unused import, add debug statement
1 parent 0e946c3 commit 01e8231

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ fn common(b: *std.Build, opts: *std.Build.Step.Options, step: *std.Build.Step.Co
165165
);
166166
mod.link_libcpp = true;
167167
mod.addObjectFile(mod.owner.path(lib_path));
168-
mod.addIncludePath(b.path("src/runtime/v8"));
169168

170169
switch (target.result.os.tag) {
171170
.macos => {

src/runtime/test_object_types.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ test "JS: object types" {
9797
// v8 has 5 default "own" properties
9898
const own_base = "5";
9999

100+
std.debug.print("MASKING: {d} {d}\n", .{@import("v8").PropertyHandlerFlags.OnlyInterceptStrings, @import("v8").PropertyHandlerFlags.NonMasking});
101+
100102
try runner.testCases(&.{
101103
.{ "Object.getOwnPropertyNames(MyObject).length;", own_base },
102104
.{ "let myObj = new MyObject(true);", "undefined" },

0 commit comments

Comments
 (0)