Open dancek opened 1 year ago
I have a container set up for cross compilation. CARGO_BUILD_TARGET is set and rust projects compile with just cargo build.
CARGO_BUILD_TARGET
cargo build
I'd expect cargo deb to also work but alas, I seem to require an explicit --target=$CARGO_BUILD_TARGET on invocation.
cargo deb
--target=$CARGO_BUILD_TARGET
Yes, cargo deb needs to know the target itself, and it doesn't scrape all the places Cargo uses.
I have a container set up for cross compilation.
CARGO_BUILD_TARGET
is set and rust projects compile with justcargo build
.I'd expect
cargo deb
to also work but alas, I seem to require an explicit--target=$CARGO_BUILD_TARGET
on invocation.