Reduce the need for users to write build scripts #14948
Labels
A-build-scripts
Area: build.rs scripts
C-tracking-issue
Category: A tracking issue for something unstable.
Like RUSTFLAGS, build scripts are an important escape hatch. Like RUSTFLAGS (#12739), we should find replacements for common uses of build scripts so people don't have to reach to this escape hatch so often
Reducing build scripts would
Uses of build scripts
#[cfg(accessible(::path::to::thing))]
rust#64797#[cfg(version(..))]
rust#64796cfg
values available at runtime (e.g. in--bugreport
,--version
, or crash reports, or for tests building examples)cfg_value!
,cfg_values!
,try_cfg_value!
,try_cfg_values!
(see also mutually exclusive features)TARGET
available at runtime (e.g.--version
, building examples in tests)package.rs
) #12552-sys
crates?The text was updated successfully, but these errors were encountered: