You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling llvm-alt v0.5.0error[E0308]: mismatched types
--> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/llvm-alt-0.5.0/src/engine.rs:154:109
|
154 | let result = engine::LLVMCreateMCJITCompilerForModule(&mut ee,(&*module).into(),&mut options, size,&mut out);
| ^^^^ expected `u64`, found `usize`
|
help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit
|
154 | let result = engine::LLVMCreateMCJITCompilerForModule(&mut ee,(&*module).into(),&mut options, size.try_into().unwrap(),&mut out);
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: could not compile `llvm-alt`.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: