-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`T-cargoTeam: CargoTeam: Cargo
Description
On rust-lang/rust#62117 it was discovered that certain C/C++ dependencies need to be linked with -pthread
instead of -lpthread
on certain platforms such as riscv64 and some arm cases.
Currently there is no way for a build.rs
script to express this however. The closest thing is rustc-dylib-link-args
which only applies when building a cdylib.
Metadata
Metadata
Assignees
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`T-cargoTeam: CargoTeam: Cargo