-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
TLS error when using Zig toolchain with Rust #12833
Comments
Are you sure? bazel-zig-cc barely works with this version, if at all (there were so many things fixed since 0.9.1) You can find out the zig version in your Bazel workspace by running:
Also, the report as-is is not very helpful to Zig developers. You will have a much higher chance of getting this prioritized if you add all the intermediate commands that produced |
@motiejus I was wrong on the Zig version. Updated the issue. |
I had the same problem, though not with zig-bazel. 0.8.1 release of zig seems to work, anything more recent than that has this issue. |
It seems that #16152 is a likely reason for this bug, because |
I seem to have the same issue, although with a different crate instead.
I managed to isolate the subcommand used to compile libserde_derive-1817460194.so,
Does this help in finding out the issue? |
Hey guys, any updates? |
I am having a similar issue with zig v0.11.0. In my case is when I use the toolchain with the Nim lang. I manage to compile a library without errors. But when I try to use it I get:
(this is an FMU file which includes |
Further more, here you have two jobs in Github Action. The one in windows is working fine. The one in 'ubuntu-latest' shows the error message. I have the same behavior in my machine (running ArchLinux). |
Zig Version
0.10.0-dev.3838+77f31ebbb
Steps to Reproduce
I'm testing using Zig as a C/C++ toolchain using Bazel and rules_rust(https://github.com/bazelbuild/rules_rust)
@motiejus Has created a very useful project that allows you to replace the host toolchains with hermetic toolchains
that are supplied by Zig: https://sr.ht/~motiejus/bazel-zig-cc/
The toolchain seems to mostly work with Rust but I get an error when I compile projects that use async-stream:
I wanted to see if there were any known issues with Zig and the TLS or Rust and Zig?
I've been trying to create a minimal reproduction but I'm having a hard time doing so, will post it here in a comment if I manage to create it.
Expected Behavior
The compilation should be successful.
Actual Behavior
Fails with an error:
The text was updated successfully, but these errors were encountered: