Sweetbread
24c38957f4
Const var, which is used for allocator, is .bss.alloc..., and because there was no that pattern in link scrypt, FILE_END didn't count the var, that's why initial zero value was overwritten by application name (see MENUET01 header description for more info) |
||
---|---|---|
.cargo | ||
examples | ||
src | ||
.gitignore | ||
build.rs | ||
Cargo.toml | ||
i686-kolibri.json | ||
link.x | ||
Makefile.toml | ||
README.md | ||
rust-toolchain |
Rust library for KolibriOS
Project uses 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.
Once installed building is trivial then: cargo make --profile production example <example name>
produces
a ready-to-use binary at root.