Skip to content

Commit

Permalink
add the new extern test to standalone tests
Browse files Browse the repository at this point in the history
This was from master branch commit
c93e0d8. Since standalone test are
completely reworked, I had to resolve the merge conflict later, in this
commit.
  • Loading branch information
andrewrk committed Mar 13, 2023
1 parent 524224b commit 711c004
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions test/standalone.zig
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ pub const build_cases = [_]BuildCase{
.build_root = "test/standalone/embed_generated_file",
.import = @import("standalone/embed_generated_file/build.zig"),
},
.{
.build_root = "test/standalone/extern",
.import = @import("standalone/extern/build.zig"),
},
.{
.build_root = "test/standalone/dep_diamond",
.import = @import("standalone/dep_diamond/build.zig"),
Expand Down
2 changes: 1 addition & 1 deletion test/standalone/extern/build.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const std = @import("std");

pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});
const optimize: std.builtin.OptimizeMode = .Debug;

const obj = b.addObject(.{
.name = "exports",
Expand Down

0 comments on commit 711c004

Please sign in to comment.