diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-19 08:39:36 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-19 08:39:36 -0500 |
| commit | c9fb5240d6305bcef7db5e12b7676ba3d741c11e (patch) | |
| tree | 486d3b17a280b14fa2e8f4dd6c76a99857380005 /std/build.zig | |
| parent | 007a260cda93004c93ef1c6f2e6155cb043188b6 (diff) | |
| download | zig-c9fb5240d6305bcef7db5e12b7676ba3d741c11e.tar.gz zig-c9fb5240d6305bcef7db5e12b7676ba3d741c11e.zip | |
remove --no-rosegment workaround now that valgrind bug is fixed
See #896
Zig 0.3.0+ and Valgrind 3.14+ do not need the workaround.
Diffstat (limited to 'std/build.zig')
| -rw-r--r-- | std/build.zig | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/std/build.zig b/std/build.zig index 0dbbded802..946a447a11 100644 --- a/std/build.zig +++ b/std/build.zig @@ -851,7 +851,6 @@ pub const LibExeObjStep = struct { disable_libc: bool, frameworks: BufSet, verbose_link: bool, - no_rosegment: bool, c_std: Builder.CStd, // zig only stuff @@ -924,7 +923,6 @@ pub const LibExeObjStep = struct { fn initExtraArgs(builder: *Builder, name: []const u8, root_src: ?[]const u8, kind: Kind, static: bool, ver: Version) LibExeObjStep { var self = LibExeObjStep{ - .no_rosegment = false, .strip = false, .builder = builder, .verbose_link = false, @@ -967,7 +965,6 @@ pub const LibExeObjStep = struct { fn initC(builder: *Builder, name: []const u8, kind: Kind, version: Version, static: bool) LibExeObjStep { var self = LibExeObjStep{ - .no_rosegment = false, .builder = builder, .name = name, .kind = kind, @@ -1009,10 +1006,6 @@ pub const LibExeObjStep = struct { return self; } - pub fn setNoRoSegment(self: *LibExeObjStep, value: bool) void { - self.no_rosegment = value; - } - fn computeOutFileNames(self: *LibExeObjStep) void { switch (self.kind) { Kind.Obj => { @@ -1382,9 +1375,6 @@ pub const LibExeObjStep = struct { } } - if (self.no_rosegment) { - try zig_args.append("--no-rosegment"); - } if (self.system_linker_hack) { try zig_args.append("--system-linker-hack"); } @@ -1704,7 +1694,6 @@ pub const TestStep = struct { lib_paths: ArrayList([]const u8), packages: ArrayList(Pkg), object_files: ArrayList([]const u8), - no_rosegment: bool, output_path: ?[]const u8, system_linker_hack: bool, override_std_dir: ?[]const u8, @@ -1726,17 +1715,12 @@ pub const TestStep = struct { .lib_paths = ArrayList([]const u8).init(builder.allocator), .packages = ArrayList(Pkg).init(builder.allocator), .object_files = ArrayList([]const u8).init(builder.allocator), - .no_rosegment = false, .output_path = null, .system_linker_hack = false, .override_std_dir = null, }; } - pub fn setNoRoSegment(self: *TestStep, value: bool) void { - self.no_rosegment = value; - } - pub fn addLibPath(self: *TestStep, path: []const u8) void { self.lib_paths.append(path) catch unreachable; } @@ -1938,9 +1922,6 @@ pub const TestStep = struct { zig_args.append("--pkg-end") catch unreachable; } - if (self.no_rosegment) { - try zig_args.append("--no-rosegment"); - } if (self.system_linker_hack) { try zig_args.append("--system-linker-hack"); } |
