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
Using llama-cpp-2 = "0.1.45" as a dependency requires using nightly rust for the unstable feature 'ptr_from_ref'.
Example build error:
error[E0658]: use of unstable library feature 'ptr_from_ref'
--> /Users/jeadie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/llama-cpp-2-0.1.45/src/token/data_array.rs:362:22
|
362 | let mu_ptr = ptr::from_mut(mu);
| ^^^^^^^^^^^^^
|
= note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information
Is there any simple alternative for the underlying DataArray implementation? One alternative I have verified is at Jeadie/llama-cpp-rs#c271be.