Comments (2)
For those who also facing same problem:
- Install the Rust version of November 05, 2022:
rustup toolchain install nightly-2022-11-06-i686
- Run the build:
cargo +nightly-2022-11-06-i686 build --release
Finished
Why did this work?
On November 6, Rust's contributors made commit to the master branch, that affects how the compiler handles syntax:
rust-lang/rust@7eef946
This commit went to toolchain-version nightly-2022-11-07-i686
, which means that since November 6 this samp-cef
stopped building with versions of Rust newer than 2022-11-06.
After installing the correct version (command above), we switched to the version of Rust the day before this commit and safely compiled what we needed without any changes to the code.
Why did this happen?
Because the sources of the detours library (which is a dependency) uses outdated syntax, so that the Rust compiler showed us an error during compile.
Related: darfink/detour-rs#39
from samp-cef.
Just an update to this rustup will automatically get the correct architecture you need. So you can install the nightly version like this.
rustup toolchain install nightly-2022-11-06
Specifically specifying the architecture broke another part of my code. But will build with
cargo +nightly-2022-11-06 build
from samp-cef.
Related Issues (20)
- open.mp support HOT 1
- 0.3dl compatibilty
- поддержка адроид HOT 1
- PLUGINS HOT 1
- Масштабирование HOT 5
- CEF display issue HOT 8
- Windows 11 HOT 1
- Make it compatible for R4 and R5 HOT 1
- Connect Vue HOT 1
- Cef Chat
- SAMP Client R4 and R5 compatibility
- Random IPs on fresh toolchains HOT 2
- Debian 11
- CEF ERROR
- jing
- please make a installation docs.
- libcef.dll
- [Question] SAMP-CEF 0.3.DL HOT 1
- [HELP] detour Compiling Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samp-cef.