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

Unable to build on arm64 #260

Open
robd003 opened this issue Jan 12, 2023 · 0 comments
Open

Unable to build on arm64 #260

robd003 opened this issue Jan 12, 2023 · 0 comments

Comments

@robd003
Copy link

robd003 commented Jan 12, 2023

#14 285.6 error[E0308]: mismatched types
#14 285.6    --> /root/.cargo/git/checkouts/redismodule-rs-db21e74d646195ef/c70081b/src/redismodule.rs:114:57
#14 285.6     |
#14 285.6 114 |             raw::RedisModule_CreateString.unwrap()(ctx, s.as_ptr() as *const i8, s.len())
#14 285.6     |             --------------------------------------      ^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
#14 285.6     |             |
#14 285.6     |             arguments to this function are incorrect
#14 285.6     |
#14 285.6     = note: expected raw pointer `*const u8`
#14 285.6                found raw pointer `*const i8`
#14 285.6 
#14 285.7 For more information about this error, try `rustc --explain E0308`.
#14 285.7 error: could not compile `redis-module` due to previous error
#14 285.7 warning: build failed, waiting for other jobs to finish...
------
executor failed running [/bin/sh -c $HOME/.cargo/bin/cargo build --release]: exit code: 101
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