mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Allow users to use latest nightly compiler without manually setting environment variable (#381)
* Workaround for latest rust compiler * Remove unnecessary travis environment variable
This commit is contained in:
committed by
Philipp Oppermann
parent
3523fdfbb5
commit
b188e8a617
@@ -24,4 +24,4 @@ addons:
|
||||
- nasm
|
||||
|
||||
script:
|
||||
- make RUST_TARGET_PATH=`pwd`
|
||||
- make
|
||||
|
||||
2
Makefile
2
Makefile
@@ -74,7 +74,7 @@ $(kernel): cargo $(rust_os) $(assembly_object_files) $(linker_script)
|
||||
@ld -n --gc-sections -T $(linker_script) -o $(kernel) $(assembly_object_files) $(rust_os)
|
||||
|
||||
cargo:
|
||||
@xargo build --target $(target)
|
||||
@RUST_TARGET_PATH="$(shell pwd)" xargo build --target $(target)
|
||||
|
||||
# compile assembly files
|
||||
build/arch/$(arch)/%.o: src/arch/$(arch)/%.asm
|
||||
|
||||
Reference in New Issue
Block a user