I want to move these to a config, but when I do it they either apply to everything or nothing. It's in a workspace, and only for the target x86_64-polished-kernel.json . Right now, i have:
RUSTFLAGS="-C relocation-model=static -C link-args=-no-pie -C link-arg=-Tkernel/linker.ld" cargo build -p kernel -Zbuild-std=core,alloc --target x86_64-polished-kernel.json