Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913015 - cargo.eclass: should reset CARGO_TARGET_DIR variable
Summary: cargo.eclass: should reset CARGO_TARGET_DIR variable
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-25 19:32 UTC by Hanabishi
Modified: 2024-02-11 06:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanabishi 2023-08-25 19:32:33 UTC
cargo.eclass should reset CARGO_TARGET_DIR variable, because if it was set by a user, it breaks building of Rust packages.

Default value is CARGO_TARGET_DIR=target

E.g. Arch builds always do this https://wiki.archlinux.org/title/Rust_package_guidelines#Build