rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
258 stars 25 forks source link

Targets fail #37

Open pitust opened 5 years ago

pitust commented 5 years ago

(I assume there is a project called xbuild_project and the shell is in it and the target is called "target.json")

cd ..
mv xbuild_project xbuild_project_2
cd xbuild_project_2
# Fails
cargo xbuild --target target.json
cp target.json target2.json
# OK
cargo xbuild --target target2.json

After renaming the target ID seems to be different

phil-opp commented 5 years ago

Thanks for reporting this issue!

Does it also work if you do a cargo clean in between?