You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there, I'm trying to use curl from simple zig program but it doesn't behave as mentioned in resolved ticket originally posted by @lithdew in #988 (comment)
Using zig 0.9.1(and I belive newer) current output is:
./src/bin/curl_c_lib.zig:16:39: error: expected type 'c_uint', found '@Type(.EnumLiteral)'
try wrap(c.curl_easy_setopt(curl, .CURLOPT_URL, "www.example.org"));
^
I'm using macos Monterey 12.5
The text was updated successfully, but these errors were encountered:
lkadalski
changed the title
Just wanted to comment here for anyone trying to use libcurl that enum handling already works in the way @andrewrk mentioned.
libcurl example doesn't seem to work
Jul 27, 2022
The issue tracker is meant for bugs found in the Zig toolchain, so I'm closing this issue. If you have any further questions, I'd suggest joining one of the friendly communities found at https://github.com/ziglang/zig/wiki/Community.
Hello there, I'm trying to use curl from simple zig program but it doesn't behave as mentioned in resolved ticket originally posted by @lithdew in #988 (comment)
Using zig 0.9.1(and I belive newer) current output is:
I'm using macos Monterey 12.5
The text was updated successfully, but these errors were encountered: