From c9a9df5746beadce3a76c555084a4d716b1a1a9d Mon Sep 17 00:00:00 2001 From: Sovenok-Hacker Date: Thu, 21 Mar 2024 18:07:27 +0300 Subject: [PATCH] Modify README.md a little Add info about requirements --- Makefile.toml | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 92ccf42..8a5abfb 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -18,4 +18,4 @@ args = ["build", "@@remove-empty(RELEASE_FLAG)"] [tasks.example] command = "cargo" args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--example", "${@}", "--", "-O", "binary", "--strip-all", "${@}.kex"] -#install_crate = { crate_name = "cargo-binutils", binary = "rust-objcopy", test_arg = ["--help"] } +# install_crate = { crate_name = "cargo-binutils", binary = "rust-objcopy", test_arg = ["--help"] } diff --git a/README.md b/README.md index 553790f..a904e47 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # Rust library for KolibriOS Project uses [cargo-make](https://github.com/sagiegurari/cargo-make) for building steps. +You need to install cargo-binutils: `cargo install cargo-binutils` and llvm-tools-preview: `rustup component add llvm-tools-preview` to make it work. Also you need a working [FASM](https://flatassembler.net/download.php). -Once installed building is trivial then: `cargo make --profile production ` produces +Once installed building is trivial then: `cargo make --profile production example ` produces a ready-to-use binary at root.