-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-environment-variablesArea: environment variablesArea: environment variablesC-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`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Description
Problem
Config env vars as far as I can tell cannot embed relative paths as a substring.
Proposed Solution
It would be useful to be able to set env vars like this for dependencies that need to compile C libraries.
[env]
CFLAGS = ["-I", { value = "include", relative = true }]
Notes
Useful if needed to modify how a library compiles for wasm32-unknown-unknown
Metadata
Metadata
Assignees
Labels
A-environment-variablesArea: environment variablesArea: environment variablesC-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`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.