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:
Rob Gries
2018-01-02 12:11:38 -05:00
committed by Philipp Oppermann
parent 3523fdfbb5
commit b188e8a617
2 changed files with 2 additions and 2 deletions

View File

@@ -24,4 +24,4 @@ addons:
- nasm
script:
- make RUST_TARGET_PATH=`pwd`
- make

View File

@@ -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