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

libloading does not build for aarch64-apple-visionos #149

Closed
coolbluewater opened this issue Jun 8, 2024 · 0 comments · Fixed by #150
Closed

libloading does not build for aarch64-apple-visionos #149

coolbluewater opened this issue Jun 8, 2024 · 0 comments · Fixed by #150

Comments

@coolbluewater
Copy link

libloading does not build for the newly added Rust target aarch64-apple-visionos

Building using

cargo +nightly  build  --target aarch64-apple-visionos -Zbuild-std

Produces these errors (as well a bunch more):

error: Target has no known `RTLD_LAZY` value. Please submit an issue or PR adding it.
  --> src/os/unix/consts.rs:90:13
   |
90 | /             compile_error!(
91 | |                 "Target has no known `RTLD_LAZY` value. Please submit an issue or PR adding it."
92 | |             );
   | |_____________^

error: Target has no known `RTLD_NOW` value. Please submit an issue or PR adding it.
   --> src/os/unix/consts.rs:127:13
    |
127 | /             compile_error!(
128 | |                 "Target has no known `RTLD_NOW` value. Please submit an issue or PR adding it."
129 | |             );
    | |_____________^

error: Target has no known `RTLD_GLOBAL` value. Please submit an issue or PR adding it.
   --> src/os/unix/consts.rs:174:13
    |
174 | /             compile_error!(
175 | |                 "Target has no known `RTLD_GLOBAL` value. Please submit an issue or PR adding it."
176 | |             );
    | |_____________^

error: Target has no known `RTLD_LOCAL` value. Please submit an issue or PR adding it.
   --> src/os/unix/consts.rs:216:13
    |
216 | /             compile_error!(
217 | |                 "Target has no known `RTLD_LOCAL` value. Please submit an issue or PR adding it."
218 | |             );
    | |_____________^
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 a pull request may close this issue.

1 participant