-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsA-cfg-exprArea: Platform cfg expressionsArea: Platform cfg expressionsA-environment-variablesArea: environment variablesArea: environment variablesE-easyExperience: EasyExperience: Easy
Description
The environment variables CARGO_CFG_DEBUG_ASSERTIONS
and CARGO_CFG_PROC_MACRO
are set when a build script is executed. These variables have no meaning, due to the way cfg
discovery is done. The build script code should probably avoid setting these two values to avoid any possible confusion.
Cargo has been issuing a warning for a little while for using these in cfg
expressions, so I think it should be OK to just filter these two values entirely. cfg
values are collected here, so I think just filtering them there at the source should be ok.
aleksator
Metadata
Metadata
Assignees
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsA-cfg-exprArea: Platform cfg expressionsArea: Platform cfg expressionsA-environment-variablesArea: environment variablesArea: environment variablesE-easyExperience: EasyExperience: Easy