Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for deprecated std.mem.copy #146

Merged
merged 2 commits into from
Dec 2, 2023
Merged

Conversation

Krvopije
Copy link
Contributor

@Krvopije Krvopije commented Dec 2, 2023

Description

The function std.mem.copy was removed (see this link for details ziglang/zig#18143).
I believe this should lead to the same results.
Edit: Another solution could be to use @memcpy.

Checklist

I didn't write any tests for it, I only this branch again in my project and it compiles again and works for what I do.

std.mem.copy was deprecated
std.mem.copy was deprecated
@vrischmann vrischmann merged commit d697c0d into vrischmann:master Dec 2, 2023
1 of 4 checks passed
@vrischmann
Copy link
Owner

Thanks

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