Add -Z json-target-spec for newer Rust nightly compatibility
This commit is contained in:
@@ -36,7 +36,7 @@ $(BUILD)/kernel.all: $(LD_SCRIPT) $(LOCKFILE) $(MANIFEST) $(TARGET_SPEC) $(shell
|
|||||||
--manifest-path "$(MANIFEST)" \
|
--manifest-path "$(MANIFEST)" \
|
||||||
--target "$(TARGET_SPEC)" \
|
--target "$(TARGET_SPEC)" \
|
||||||
--release \
|
--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) \
|
--features=$(KERNEL_CARGO_FEATURES) \
|
||||||
-- \
|
-- \
|
||||||
-C link-arg=-T -Clink-arg="$(LD_SCRIPT)" \
|
-C link-arg=-T -Clink-arg="$(LD_SCRIPT)" \
|
||||||
@@ -62,5 +62,5 @@ check:
|
|||||||
--bin kernel \
|
--bin kernel \
|
||||||
--manifest-path "$(MANIFEST)" \
|
--manifest-path "$(MANIFEST)" \
|
||||||
--target "$(TARGET_SPEC)" \
|
--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)
|
--features=$(KERNEL_CHECK_FEATURES)
|
||||||
|
|||||||
Reference in New Issue
Block a user