d9bbdff08c
these should be used to include external files and resources in the kernel binary
at compile time.
- libm currently supports loading psf-1 formatted fonts
- added two fonts that are included in the binary at compile time
- refactored libk to make the crate structure more organised and maintainable in future.
new structure:
- drivers (hardware interaction)
- resources (consts and statics included either manually or via macros)
- std (standard functions for higher level interaction with the os, for example creating windows)
- added geometry.rs
- provides the Vec2<T> struct for use with dimensions, coordinates etc.
- added window.rs
- provides the Window struct for rendering the state of an application to the screen
- added application.rs
- provides the Application trait for custom programs to implement in order to run
30 lines
617 B
TOML
30 lines
617 B
TOML
[workspace]
|
|
members = ["kernel", "libk", "libm"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
authors = ["The FoundryOS Contributors"]
|
|
|
|
[profile.dev]
|
|
opt-level = "z"
|
|
debug = true
|
|
# Leave this on to force Cargo to use the debug runner,
|
|
# which adds the necessary flags for GDB debugging if you
|
|
# set $USE_GDB (to any value) e.g. USE_GDB=1 cargo run
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
lto = false
|
|
incremental = false
|
|
codegen-units = 1
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
lto = true
|
|
incremental = false
|
|
codegen-units = 1
|