Unable to build on arm64
robd003 opened this issue · 0 comments
robd003 commented
#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