Modify README.md a little
Add info about requirements
This commit is contained in:
parent
49b37f37c8
commit
c9a9df5746
@ -18,4 +18,4 @@ args = ["build", "@@remove-empty(RELEASE_FLAG)"]
|
|||||||
[tasks.example]
|
[tasks.example]
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--example", "${@}", "--", "-O", "binary", "--strip-all", "${@}.kex"]
|
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"] }
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
# Rust library for KolibriOS
|
# Rust library for KolibriOS
|
||||||
|
|
||||||
Project uses [cargo-make](https://github.com/sagiegurari/cargo-make) for building steps.
|
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).
|
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.
|
a ready-to-use binary at root.
|
||||||
|
Loading…
Reference in New Issue
Block a user