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
Hi! I cloned the repo and ran cargo build and I get the following error:
error[E0425]: cannot find function `from_ref` in module `ptr`
--> src/task/server.rs:246:37
|
246 | drop(Box::from_raw(ptr::from_ref(config).cast_mut()));
| ^^^^^^^^ not found in `ptr`
|
I am using rustc/cargo version 1.60.0 (on Ubuntu 20.04)
Any advice?
The text was updated successfully, but these errors were encountered:
Well, I used a nightly version for this project, you can use rustup override set nightly while located in the project directory and then try to build it again. If you want to use the stable version, you have to modify that line of code:
drop(Box::from_raw(config as*mutServer));
Not sure if that will compile, I can't test it right now. I'll check later to confirm.
Hi! I cloned the repo and ran
cargo build
and I get the following error:I am using rustc/cargo version 1.60.0 (on Ubuntu 20.04)
Any advice?
The text was updated successfully, but these errors were encountered: