Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[unstable]
|
||||
build-std = ["core", "compiler_builtins", "alloc"]
|
||||
|
||||
[build]
|
||||
target = "./src/arch/x86_64/x86_64-unknown-none.json"
|
||||
rustflags = ["-Cforce-frame-pointers=yes"]
|
||||
|
||||
# use this to reduce the binary size, I've seen these reduce the kernel by 60Kib
|
||||
# you could use opt-level = "z" and save another 50k, but imo, speed is much more valuable than size
|
||||
[profile.release]
|
||||
strip = true
|
||||
lto = true
|
||||
Reference in New Issue
Block a user