diff options
| author | Carl Ã…stholm <carl@astholm.se> | 2024-04-07 15:57:56 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-04-07 16:06:15 -0700 |
| commit | 09f1bbe11b17bd26641c7e36da34b1370ab025b2 (patch) | |
| tree | 965444f48c89d60ddcc62a7c1969b379918e2369 /lib/std/Build/Module.zig | |
| parent | 05126fc4c575b833e772239426f31af23eba0d20 (diff) | |
| download | zig-09f1bbe11b17bd26641c7e36da34b1370ab025b2.tar.gz zig-09f1bbe11b17bd26641c7e36da34b1370ab025b2.zip | |
std.Build: Remove unused `c_std` field
This field has not been referenced by compile steps since
e76ce2c1d0d3988359267fd3030a81a52ec99f3f, all the way back in 2019.
To specify the language standard, pass `-std=[value]` as a regular
C flag instead.
Diffstat (limited to 'lib/std/Build/Module.zig')
| -rw-r--r-- | lib/std/Build/Module.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/std/Build/Module.zig b/lib/std/Build/Module.zig index 8937f21e88..a5e95783c6 100644 --- a/lib/std/Build/Module.zig +++ b/lib/std/Build/Module.zig @@ -19,7 +19,6 @@ include_dirs: std.ArrayListUnmanaged(IncludeDir), lib_paths: std.ArrayListUnmanaged(LazyPath), rpaths: std.ArrayListUnmanaged(RPath), frameworks: std.StringArrayHashMapUnmanaged(LinkFrameworkOptions), -c_std: std.Build.CStd, link_objects: std.ArrayListUnmanaged(LinkObject), strip: ?bool, @@ -164,7 +163,6 @@ pub const CreateOptions = struct { strip: ?bool = null, unwind_tables: ?bool = null, dwarf_format: ?std.dwarf.Format = null, - c_std: std.Build.CStd = .C99, code_model: std.builtin.CodeModel = .default, stack_protector: ?bool = null, stack_check: ?bool = null, @@ -204,7 +202,6 @@ pub fn init(m: *Module, owner: *std.Build, options: CreateOptions, compile: ?*St .lib_paths = .{}, .rpaths = .{}, .frameworks = .{}, - .c_std = options.c_std, .link_objects = .{}, .strip = options.strip, .unwind_tables = options.unwind_tables, |
