@ -12,6 +12,9 @@ test = []
qemu_auto_exit = []
link_user_program = []
[profile.release]
debug = true
[dependencies]
bit_field = "0.7.0"
rlibc = "1.0"
@ -104,7 +104,7 @@ $(kernel): kernel $(rust_os) $(assembly_object_files) $(linker_script)
$(assembly_object_files) $(rust_os)
kernel:
@RUSTFLAGS=-g RUST_TARGET_PATH=$(shell pwd) CC=$(cc) xargo build $(build_args)
@RUST_TARGET_PATH=$(shell pwd) CC=$(cc) xargo build $(build_args)
# compile assembly files
build/arch/$(arch)/boot/%.o: $(boot_src)/%.asm