We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.14.0-dev.2319+1a99c99ee
When linking C with android api level<28, get 'undefined symbol: getrandom'.
Bionic C library supports 'getrandom' until api level 28 (https://android.googlesource.com/platform/bionic/+/HEAD/docs/status.md).
The testing target is
.{ .cpu_arch = .aarch64, .cpu_features_add = aarch64_feature, .os_tag = .linux, .abi = .android, // monkey-patch std.c.getrandom with: // .linux => if (if (builtin.abi.isAndroid()) versionCheck(.{ .major = 28, .minor = 0, .patch = 0 }) else versionCheck(.{ .major = 2, .minor = 25, .patch = 0 })) private.getrandom else {}, .android_api_level = 26, }
getrandom works out of the box.
getrandom
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Zig Version
0.14.0-dev.2319+1a99c99ee
Steps to Reproduce and Observed Behavior
When linking C with android api level<28, get 'undefined symbol: getrandom'.
Bionic C library supports 'getrandom' until api level 28 (https://android.googlesource.com/platform/bionic/+/HEAD/docs/status.md).
The testing target is
Expected Behavior
getrandom
works out of the box.The text was updated successfully, but these errors were encountered: