Skip to content

Swap Uses of Deprecated | std.builtin.Mode => std.builtin.OptimizeMode#16745

Merged
andrewrk merged 1 commit intoziglang:masterfrom
zraineri:master
Aug 9, 2023
Merged

Swap Uses of Deprecated | std.builtin.Mode => std.builtin.OptimizeMode#16745
andrewrk merged 1 commit intoziglang:masterfrom
zraineri:master

Conversation

@zraineri
Copy link
Contributor

@zraineri zraineri commented Aug 9, 2023

Swap uses of deprecated std.builtin.Mode with std.builtin.OptimizeMode as documentation recommends

Deprecated on Jan 31st, 2023 by #14498

@zraineri zraineri changed the title Removed Deprecated | std.builtin.Mode => std.builtin.OptimizeMode Swap Uses of Deprecated | std.builtin.Mode => std.builtin.OptimizeMode Aug 9, 2023
@zraineri
Copy link
Contributor Author

zraineri commented Aug 9, 2023

We could probably swap std.builtin.Mode with a compiler error or remove it altogether. I'm not sure Zig's policy on removing deprecated functionality

@andrewrk andrewrk merged commit 0461a64 into ziglang:master Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants