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

0.9.4版本mipsel-unknown-linux-musl编译失败 #38

Closed
chen3 opened this issue Oct 11, 2024 · 1 comment
Closed

0.9.4版本mipsel-unknown-linux-musl编译失败 #38

chen3 opened this issue Oct 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@chen3
Copy link

chen3 commented Oct 11, 2024

cargo build --target mipsel-unknown-linux-musl -Z build-std=std
error[E0412]: cannot find type `user_desc_t` in this scope
    --> src/platform/linux-mips/call.rs:9077:42
     |
9077 | pub unsafe fn set_thread_area(info: &mut user_desc_t) -> Result<(), Errno> {
     |                                          ^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `user_desc_t` in this scope
    --> src/platform/linux-mips/call.rs:9078:33
     |
9078 |     let info_ptr = info as *mut user_desc_t as usize;
     |                                 ^^^^^^^^^^^ not found in this scope

error[E0609]: no field `sa_restorer` on type `uapi_signal::sigaction_t`
  --> src/restore/c.rs:16:16
   |
16 |         old_sa.sa_restorer
   |                ^^^^^^^^^^^ unknown field
   |
   = note: available fields are: `sa_flags`, `sa_handler`, `sa_mask`

@XuShaohua XuShaohua self-assigned this Oct 16, 2024
@XuShaohua XuShaohua added the bug Something isn't working label Oct 16, 2024
@XuShaohua
Copy link
Owner

@chen3 这个问题已经修改, 请更新到 v0.9.5

@chen3 chen3 closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants