mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Add libcpp option to test options
This commit is contained in:
parent
3a0da431db
commit
00d6ea4764
@ -867,6 +867,7 @@ pub const TestOptions = struct {
|
|||||||
filters: []const []const u8 = &.{},
|
filters: []const []const u8 = &.{},
|
||||||
test_runner: ?LazyPath = null,
|
test_runner: ?LazyPath = null,
|
||||||
link_libc: ?bool = null,
|
link_libc: ?bool = null,
|
||||||
|
link_libcpp: ?bool = null,
|
||||||
single_threaded: ?bool = null,
|
single_threaded: ?bool = null,
|
||||||
pic: ?bool = null,
|
pic: ?bool = null,
|
||||||
strip: ?bool = null,
|
strip: ?bool = null,
|
||||||
@ -896,6 +897,7 @@ pub fn addTest(b: *Build, options: TestOptions) *Step.Compile {
|
|||||||
.target = options.target orelse b.graph.host,
|
.target = options.target orelse b.graph.host,
|
||||||
.optimize = options.optimize,
|
.optimize = options.optimize,
|
||||||
.link_libc = options.link_libc,
|
.link_libc = options.link_libc,
|
||||||
|
.link_libcpp = options.link_libcpp,
|
||||||
.single_threaded = options.single_threaded,
|
.single_threaded = options.single_threaded,
|
||||||
.pic = options.pic,
|
.pic = options.pic,
|
||||||
.strip = options.strip,
|
.strip = options.strip,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user