Skip to content

Enabled target_os=android for libc backend

be865c8
Select commit
Loading
Failed to load commit list.
Open

Fix Android build: enable linux-raw-sys and exclude Android-unsupported Linux userspace features #1528

Enabled target_os=android for libc backend
be865c8
Select commit
Loading
Failed to load commit list.
Cirrus CI / stable x86_64-unknown-freebsd-15 failed Sep 30, 2025 in 47s

Task Summary

Instruction test failed in 00:30

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:02 clone
✅ 00:11 setup
❌ 00:30 test

    = note: multiple `impl`s satisfying `CStr: PartialEq<_>` found in the following crates: `alloc`, `core`:
            - impl PartialEq for CStr;
            - impl PartialEq<&CStr> for CStr;
            - impl PartialEq<CString> for CStr;
            - impl PartialEq<Cow<'_, CStr>> for CStr;
    = note: required for `&CStr` to implement `PartialEq<&_>`
help: consider specifying the generic argument
    |
131 |     assert_eq!(cstr!("hello"), Borrow::<Borrowed>::borrow(&t.into_c_str().unwrap()));
    |                                      ++++++++++++

error[E0283]: type annotations needed
   --> tests/path/arg.rs:136:32
    |
136 |     assert_eq!(cstr!("43110"), Borrow::borrow(&t.as_cow_c_str().unwrap()));
    |     ---------------------------^^^^^^^^^^^^^^-----------------------------
    |     |                          |
    |     |                          cannot infer type of the type parameter `Borrowed` declared on the trait `Borrow`
    |     type must be known at this point
    |
    = note: multiple `impl`s satisfying `CStr: PartialEq<_>` found in the following crates: `alloc`, `core`:
            - impl PartialEq for CStr;
            - impl PartialEq<&CStr> for CStr;
            - impl PartialEq<CString> for CStr;
            - impl PartialEq<Cow<'_, CStr>> for CStr;
    = note: required for `&CStr` to implement `PartialEq<&_>`
help: consider specifying the generic argument
    |
136 |     assert_eq!(cstr!("43110"), Borrow::<Borrowed>::borrow(&t.as_cow_c_str().unwrap()));
    |                                      ++++++++++++

error[E0283]: type annotations needed
   --> tests/path/arg.rs:138:32
    |
138 |     assert_eq!(cstr!("43110"), Borrow::borrow(&t.into_c_str().unwrap()));
    |     ---------------------------^^^^^^^^^^^^^^---------------------------
    |     |                          |
    |     |                          cannot infer type of the type parameter `Borrowed` declared on the trait `Borrow`
    |     type must be known at this point
    |
    = note: multiple `impl`s satisfying `CStr: PartialEq<_>` found in the following crates: `alloc`, `core`:
            - impl PartialEq for CStr;
            - impl PartialEq<&CStr> for CStr;
            - impl PartialEq<CString> for CStr;
            - impl PartialEq<Cow<'_, CStr>> for CStr;
    = note: required for `&CStr` to implement `PartialEq<&_>`
help: consider specifying the generic argument
    |
138 |     assert_eq!(cstr!("43110"), Borrow::<Borrowed>::borrow(&t.into_c_str().unwrap()));
    |                                      ++++++++++++

For more information about this error, try `rustc --explain E0283`.
error: could not compile `rustix` (test "path") due to 80 previous errors
warning: build failed, waiting for other jobs to finish...

Exit status: 101