mirror of
https://github.com/ziglang/zig.git
synced 2026-12-05 22:59:05 -05:00
change uses of std.builtin.Mode to OptimizeMode (#16745)
std.builtin.Mode is deprecated.
This commit is contained in:
1 parent
72c68f698e
commit
0461a64a93
11 files changed
+28
-28
No files matched your search
+1
-1
@@ -5640,7 +5640,7 @@ pub fn getTarget(mod: Module) Target {
|
||||
return mod.comp.bin_file.options.target;
|
||||
}
|
||||
|
||||
pub fn optimizeMode(mod: Module) std.builtin.Mode {
|
||||
pub fn optimizeMode(mod: Module) std.builtin.OptimizeMode {
|
||||
return mod.comp.bin_file.options.optimize_mode;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user