vrischmann / zig-sqlite

zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig.
MIT License
367 stars 49 forks source link

Fix for deprecated std.mem.copy #146

Closed Krvopije closed 10 months ago

Krvopije commented 10 months ago

Description

The function std.mem.copy was removed (see this link for details https://github.com/ziglang/zig/pull/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.

vrischmann commented 10 months ago

Thanks