SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Plugin Development (https://forum.sa-mp.com/forumdisplay.php?f=18)
-   -   [Tool/Web/Other] Rust SA:MP SDK (https://forum.sa-mp.com/showthread.php?t=651131)

Kaperstone 15/03/2018 01:59 PM

Re: Rust SA:MP SDK
 
Made an example code of usage.
https://github.com/Kaperstone/samp-rust-example

EvaBaka 15/03/2018 10:29 PM

Re: Rust SA:MP SDK
 
Check out Get Started wiki page.

Kaperstone 15/03/2018 10:59 PM

Re: Rust SA:MP SDK
 
Quote:

Originally Posted by EvaBaka (Post 4003377)
Check out Get Started wiki page.

You have forgotten to state that nightly toolchain needs to be installed.

or otherwise it will error
Code:

  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/samp-sdk-0.8.1/src/lib.rs:12:1
  |
12 | #![feature(macro_reexport)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `samp-sdk`.

To learn more, run the command again with --verbose.



All times are GMT. The time now is 04:57 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.