Move debuginfo and LTO option to Cargo.toml

This commit is contained in:
bjorn3 2023-10-03 09:39:45 +02:00
parent 0e5e1eb00e
commit b77cee379f

View File

@ -14,8 +14,6 @@ cargo rustc \
-Z build-std=core,alloc \
-- \
-C soft-float \
-C debuginfo=2 \
-C lto \
--emit link="${PWD}/libkernel.a"
"${TARGET}-ld" \
--gc-sections \