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

Build fail #213

Open
simon-fu opened this issue Mar 23, 2024 · 0 comments
Open

Build fail #213

simon-fu opened this issue Mar 23, 2024 · 0 comments

Comments

@simon-fu
Copy link

MacOS Sonoma 14.1.1 , Apple M2 Pro
Build failed : 266913b

However, I build 36f92e6 successfully

error[E0308]: mismatched types
   --> srt-c/src/c_api.rs:779:40
    |
779 |                         from_raw_parts(buf, len as usize)
    |                         -------------- ^^^ expected `*const u8`, found `*const i8`
    |                         |
    |                         arguments to this function are incorrect
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`
note: function defined here
   --> /Users/simon/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:94:21

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

No branches or pull requests

1 participant