kernel: restore -Z json-target-spec (required for .json target specs)

This commit is contained in:
Red Bear OS
2026-06-30 17:46:14 +03:00
parent 19010ce174
commit a8042049ce
+2 -4
View File
@@ -35,9 +35,8 @@ $(BUILD)/kernel.all: $(LD_SCRIPT) $(LOCKFILE) $(MANIFEST) $(TARGET_SPEC) $(shell
--bin kernel \
--manifest-path "$(MANIFEST)" \
--target "$(TARGET_SPEC)" \
\
--release \
-Z build-std=core,alloc -Zbuild-std-features=compiler-builtins-mem \
-Z build-std=core,alloc -Zbuild-std-features=compiler-builtins-mem -Z json-target-spec \
--features=$(KERNEL_CARGO_FEATURES) \
-- \
-C link-arg=-T -Clink-arg="$(LD_SCRIPT)" \
@@ -63,6 +62,5 @@ check:
--bin kernel \
--manifest-path "$(MANIFEST)" \
--target "$(TARGET_SPEC)" \
\
-Z build-std=core,alloc -Zbuild-std-features=compiler-builtins-mem \
-Z build-std=core,alloc -Zbuild-std-features=compiler-builtins-mem -Z json-target-spec \
--features=$(KERNEL_CHECK_FEATURES)