-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
Description of the problem
I did not find a way to use setuptools_rust without having it passing a target triple flag (--target) to the rust compiler. The problem is that, as explained in the rust doc, using the --target flag changes the build directory layout and build outputs are no longer under target/debug or target/release but instead they are stored in target/<triple>/debug/ or target/<triple>/release/.
In my case this is problematic because I want to share the cargo build cache and avoid re-compiling the rust library when I build the python wheel, after having built the rust library using cargo build. But to do so, I need the target dir to be target/debug/ or target/release/.
Metadata
Metadata
Assignees
Labels
No labels