don't rely on allocator for basic stuff

This commit is contained in:
fekhesk 2022-10-26 15:50:22 -07:00
parent 9a5a004243
commit 3bb18ee8f7
No known key found for this signature in database
GPG key ID: 6B3D8CB511646891
11 changed files with 86 additions and 188 deletions

View file

@ -44,7 +44,7 @@ $(final): $(kernel) $(linker_script) $(assembly_object_files)
--gc-sections
$(kernel):
@RUST_TARGET_PATH=$(shell pwd) xargo build --target $(target) -Zbuild-std=core,alloc
@RUST_TARGET_PATH=$(shell pwd) xargo build --target $(target) -Zbuild-std=core --features "f_multiboot2"
build/arch/$(arch)/%.o: arch/$(arch)/%.asm
@mkdir -p $(shell dirname $@)