cargo-skyline
cargo-skyline copied to clipboard
error: unknown `--json` option `future-incompat`
I was trying to build my plugin and i got these errors, how can i fix it?
For anyone stumbling upon this: this issue seems to happen on many Rust installations, and is possibly caused by incompatibilities between recent official Cargo versions and the custom Rust toolchain that Skyline uses.
The fix to this issue is to use the 3.0.0 version of cargo-skyline
. At this time of writing, it's only available on the yea-again
branch of this repository.
To opt into this version of cargo-skyline
, run the following command:
cargo install --git https://github.com/jam1garner/cargo-skyline.git --branch yea-again
Then, update the toolchain. This process can take a while on this version:
cargo skyline update-std
For safety, it may also be worth it to update the libraries:
cargo skyline update