MegaAntiCheat / client-backend

GNU General Public License v3.0
117 stars 24 forks source link

Error when running with ui #148

Closed JanekGOOGLE140 closed 3 months ago

JanekGOOGLE140 commented 3 months ago
user@PC:~/path-to-dir/client-backend$ cargo run
   Compiling h2 v0.3.24
   Compiling protoc-rust v2.28.0
   Compiling axum-core v0.3.4
   Compiling steamlocate v2.0.0-beta.2
   Compiling watchman_client v0.8.0
   Compiling tower-http v0.4.4
   Compiling client-backend v0.1.0 (/home/user/path-to-dir/client-backend)
   Compiling tokio-tungstenite v0.21.0
error: unsupported output in build script of `client-backend v0.1.0 (/home/user/path-to-dir/client-backend)`: `cargo::rustc-cfg=feature="include-ui"`
Found a `cargo::key=value` build directive which is reserved for future use.
Either change the directive to `cargo:key=value` syntax (note the single `:`) or upgrade your version of Rust.
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs.
warning: build failed, waiting for other jobs to finish...

I already tried upgrading rust

JanekGOOGLE140 commented 3 months ago

Fixed by changed permisions of rust binary