Modify README.md a little

Add info about requirements
This commit is contained in:
Sovenok-Hacker 2024-03-21 18:07:27 +03:00 committed by Sweetbread
parent 49b37f37c8
commit c9a9df5746
2 changed files with 3 additions and 2 deletions

View File

@ -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"] }

View File

@ -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 <example name>` produces
Once installed building is trivial then: `cargo make --profile production example <example name>` produces
a ready-to-use binary at root.